Class: HbaseClient::Thrift::TScan

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/hbase-client/thrift/hbase_types.rb

Overview

A Scan object is used to specify scanner parameters when opening a scanner.

Constant Summary collapse

STARTROW =
1
STOPROW =
2
TIMESTAMP =
3
COLUMNS =
4
CACHING =
5
FILTERSTRING =
6
BATCHSIZE =
7
SORTCOLUMNS =
8
REVERSED =
9
FIELDS =
{
  STARTROW => {:type => ::Thrift::Types::STRING, :name => 'startRow', :binary => true, :optional => true},
  STOPROW => {:type => ::Thrift::Types::STRING, :name => 'stopRow', :binary => true, :optional => true},
  TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp', :optional => true},
  COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}, :optional => true},
  CACHING => {:type => ::Thrift::Types::I32, :name => 'caching', :optional => true},
  FILTERSTRING => {:type => ::Thrift::Types::STRING, :name => 'filterString', :binary => true, :optional => true},
  BATCHSIZE => {:type => ::Thrift::Types::I32, :name => 'batchSize', :optional => true},
  SORTCOLUMNS => {:type => ::Thrift::Types::BOOL, :name => 'sortColumns', :optional => true},
  REVERSED => {:type => ::Thrift::Types::BOOL, :name => 'reversed', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



228
# File 'lib/hbase-client/thrift/hbase_types.rb', line 228

def struct_fields; FIELDS; end

#validateObject



230
231
# File 'lib/hbase-client/thrift/hbase_types.rb', line 230

def validate
end