Class: Impala::Protocol::TLikePredicate
- Inherits:
-
Object
- Object
- Impala::Protocol::TLikePredicate
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/exprs_types.rb
Constant Summary collapse
- ESCAPE_CHAR =
1
- FIELDS =
{ ESCAPE_CHAR => { :type => ::Thrift::Types::STRING, :name => 'escape_char' } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
206 |
# File 'lib/impala/protocol/exprs_types.rb', line 206 def struct_fields; FIELDS; end |
#validate ⇒ Object
208 209 210 |
# File 'lib/impala/protocol/exprs_types.rb', line 208 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field escape_char is unset!') unless @escape_char end |