Class: Apache::Hadoop::Hbase::Thrift::TScan

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/adapter/hbase/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
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}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



201
# File 'lib/adapter/hbase/hbase_types.rb', line 201

def struct_fields; FIELDS; end

#validateObject



203
204
# File 'lib/adapter/hbase/hbase_types.rb', line 203

def validate
end