Class: HbaseClient::Thrift::Hbase::ScannerOpenWithStop_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
STOPROW =
3
COLUMNS =
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},
  # 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}},
  # 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



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end