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



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end