Sha256: 7d9f80bf6fc6465b3a252660f3f1d5e3a4ebb69f960bf1c3fd41c232e3a665ad

Contents?: true

Size: 1.54 KB

Versions: 3

Compression:

Stored size: 1.54 KB

Contents

#
# Autogenerated by Thrift
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#

require 'thrift/protocol'
require File.dirname(__FILE__) + '/Client_types' 

module Hypertable
  module ThriftGen
        # 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>
        class HqlResult
          include ::Thrift::Struct
          RESULTS = 1
          CELLS = 2
          SCANNER = 3
          MUTATOR = 4

          Thrift::Struct.field_accessor self, :results, :cells, :scanner, :mutator
          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}
          }

          def struct_fields; FIELDS; end

          def validate
          end

        end

      end
    end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tylerkovacs-hyper_record-0.2.2 lib/hypertable/gen-rb/Hql_types.rb
tylerkovacs-hyper_record-0.2.3 lib/hypertable/gen-rb/Hql_types.rb
tylerkovacs-hyper_record-0.2.4 lib/hypertable/gen-rb/Hql_types.rb