Class: Apache::Hadoop::Hbase::Thrift::Hbase::ScannerOpenWithStopTs_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
STOPROW =
3
COLUMNS =
4
TIMESTAMP =
5
ATTRIBUTES =
6
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},
  # row to stop scanning on. This row is *not* included in the
# scanner's results
  STOPROW => {:type => ::Thrift::Types::STRING, :name => 'stopRow', :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



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

def struct_fields; FIELDS; end

#validateObject



2749
2750
# File 'lib/adapter/hbase/hbase.rb', line 2749

def validate
end