Class: Apache::Hadoop::Hbase::Thrift::Hbase::ScannerOpenTs_args

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



2693
# File 'lib/adapter/hbase/hbase.rb', line 2693

def struct_fields; FIELDS; end

#validateObject



2695
2696
# File 'lib/adapter/hbase/hbase.rb', line 2695

def validate
end