Sha256: 0df94f426cf2f9a87483aad6b246c0a56cd5283f9b90cb058a9ce7b6bc0b9dcc

Contents?: true

Size: 1.55 KB

Versions: 2

Compression:

Stored size: 1.55 KB

Contents

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

#require 'client_types'
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

2 entries across 2 versions & 1 rubygems

Version Path
tylerkovacs-hyper_record-0.2.5 lib/hypertable/gen-rb/hql_types.rb
tylerkovacs-hyper_record-0.2.6 lib/hypertable/gen-rb/hql_types.rb