Class: Impala::Protocol::TInPredicate

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/impala/protocol/exprs_types.rb

Constant Summary collapse

IS_NOT_IN =
1
FIELDS =
{
IS_NOT_IN => { :type => ::Thrift::Types::BOOL, :name => 'is_not_in' }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



172
# File 'lib/impala/protocol/exprs_types.rb', line 172

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


174
175
176
# File 'lib/impala/protocol/exprs_types.rb', line 174

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field is_not_in is unset!') if @is_not_in.nil?
end