Class: Hypertable::ThriftGen::HqlResult

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/hypertable/gen-rb/hql_types.rb

Overview

Result type of HQL queries

<dl>

<dt>results</dt>
<dd>String results from metadata queries</dd>

<dt>cells</dt>
<dd>Resulting table cells of for buffered queries</dd>

<dt>scanner</dt>
<dd>Resulting scanner ID for unbuffered queries</dd>

<dt>mutator</dt>
<dd>Resulting mutator ID for unflushed modifying queries</dd>

</dl>

Constant Summary collapse

RESULTS =
1
CELLS =
2
SCANNER =
3
MUTATOR =
4
FIELDS =
{
  RESULTS => {:type => ::Thrift::Types::LIST, :name => 'results', :element => {:type => ::Thrift::Types::STRING}, :optional => true},
  CELLS => {:type => ::Thrift::Types::LIST, :name => 'cells', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}, :optional => true},
  SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner', :optional => true},
  MUTATOR => {:type => ::Thrift::Types::I64, :name => 'mutator', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



41
# File 'lib/hypertable/gen-rb/hql_types.rb', line 41

def struct_fields; FIELDS; end

#validateObject



43
44
# File 'lib/hypertable/gen-rb/hql_types.rb', line 43

def validate
end