Class: HbaseClient::Thrift::Hbase::ScannerOpenTs_args

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

Constant Summary collapse

TABLENAME =
1
STARTROW =
2
COLUMNS =
3
TIMESTAMP =
4
ATTRIBUTES =
5
FIELDS =
{
  # name of table
  TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
  # Starting row in table to scan.
# Send "" (empty string) to start at the first row.
  STARTROW => {:type => ::Thrift::Types::STRING, :name => 'startRow', :binary => true},
  # columns to scan. If column name is a column family, all
# columns of the specified column family are returned. It's also possible
# to pass a regex in the column qualifier.
  COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING, :binary => true}},
  # timestamp
  TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
  # Scan attributes
  ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



2753
2754
# File 'lib/hbase-client/thrift/hbase.rb', line 2753

def validate
end