Class: Impala::Protocol::TIsNullPredicate
- Inherits:
-
Object
- Object
- Impala::Protocol::TIsNullPredicate
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/exprs_types.rb
Constant Summary collapse
- IS_NOT_NULL =
1
- FIELDS =
{ IS_NOT_NULL => { :type => ::Thrift::Types::BOOL, :name => 'is_not_null' } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
189 |
# File 'lib/impala/protocol/exprs_types.rb', line 189 def struct_fields; FIELDS; end |
#validate ⇒ Object
191 192 193 |
# File 'lib/impala/protocol/exprs_types.rb', line 191 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field is_not_null is unset!') if @is_not_null.nil? end |