Class: Apache::Hadoop::Hbase::Thrift2::TScan

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

Overview

Max versions defaults to 1.

Constant Summary collapse

STARTROW =
1
STOPROW =
2
COLUMNS =
3
CACHING =
4
MAXVERSIONS =
5
TIMERANGE =
6
FILTERSTRING =
7
BATCHSIZE =
8
ATTRIBUTES =
9
AUTHORIZATIONS =
10
REVERSED =
11
FIELDS =
{
  STARTROW => {:type => ::Thrift::Types::STRING, :name => 'startRow', :binary => true, :optional => true},
  STOPROW => {:type => ::Thrift::Types::STRING, :name => 'stopRow', :binary => true, :optional => true},
  COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift2::TColumn}, :optional => true},
  CACHING => {:type => ::Thrift::Types::I32, :name => 'caching', :optional => true},
  MAXVERSIONS => {:type => ::Thrift::Types::I32, :name => 'maxVersions', :default => 1, :optional => true},
  TIMERANGE => {:type => ::Thrift::Types::STRUCT, :name => 'timeRange', :class => ::Apache::Hadoop::Hbase::Thrift2::TTimeRange, :optional => true},
  FILTERSTRING => {:type => ::Thrift::Types::STRING, :name => 'filterString', :binary => true, :optional => true},
  BATCHSIZE => {:type => ::Thrift::Types::I32, :name => 'batchSize', :optional => true},
  ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}, :optional => true},
  AUTHORIZATIONS => {:type => ::Thrift::Types::STRUCT, :name => 'authorizations', :class => ::Apache::Hadoop::Hbase::Thrift2::TAuthorization, :optional => true},
  REVERSED => {:type => ::Thrift::Types::BOOL, :name => 'reversed', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



409
# File 'lib/hbase/hbase_types.rb', line 409

def struct_fields; FIELDS; end

#validateObject



411
412
# File 'lib/hbase/hbase_types.rb', line 411

def validate
end