Class: Impala::Protocol::TColumnValue

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

Constant Summary collapse

BOOLVAL =
1
INTVAL =
2
LONGVAL =
3
DOUBLEVAL =
4
STRINGVAL =
5
FIELDS =
{
BOOLVAL => { :type => ::Thrift::Types::BOOL, :name => 'boolVal', :optional => true },
INTVAL => { :type => ::Thrift::Types::I32, :name => 'intVal', :optional => true },
LONGVAL => { :type => ::Thrift::Types::I64, :name => 'longVal', :optional => true },
DOUBLEVAL => { :type => ::Thrift::Types::DOUBLE, :name => 'doubleVal', :optional => true },
STRINGVAL => { :type => ::Thrift::Types::STRING, :name => 'stringVal', :optional => true }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



52
# File 'lib/impala/protocol/data_types.rb', line 52

def struct_fields; FIELDS; end

#validateObject



54
55
# File 'lib/impala/protocol/data_types.rb', line 54

def validate
end