Sha256: 6732466fa07d5dbe6539f33f7955d75510e7a9a6b179a9d026076fd9c7120bfd

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 & 2 rubygems

Version Path
mateuszb-hyperthrift_auth-0.1.0 lib/hypertable/gen-rb/Hql_types.rb
tylerkovacs-hyper_record-0.2.0 lib/hypertable/gen-rb/Hql_types.rb
tylerkovacs-hyper_record-0.2.1 lib/hypertable/gen-rb/Hql_types.rb