Class: Apache::Hadoop::Hbase::Thrift::Hbase::ScannerOpen_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
ATTRIBUTES =
4
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}},
  # 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



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

def struct_fields; FIELDS; end

#validateObject



2550
2551
# File 'lib/adapter/hbase/hbase.rb', line 2550

def validate
end