Class: Impala::Protocol::Beeswax::Results

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

Constant Summary collapse

READY =
1
COLUMNS =
2
DATA =
3
START_ROW =
4
HAS_MORE =
5
FIELDS =
{
  READY => {:type => ::Thrift::Types::BOOL, :name => 'ready'},
  COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING}},
  DATA => {:type => ::Thrift::Types::LIST, :name => 'data', :element => {:type => ::Thrift::Types::STRING}},
  START_ROW => {:type => ::Thrift::Types::I64, :name => 'start_row'},
  HAS_MORE => {:type => ::Thrift::Types::BOOL, :name => 'has_more'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



95
# File 'lib/impala/protocol/beeswax_types.rb', line 95

def struct_fields; FIELDS; end

#validateObject



97
98
# File 'lib/impala/protocol/beeswax_types.rb', line 97

def validate
end