org.apache.hadoop.hbase.thrift.generated
Class Hbase.get_args

java.lang.Object
  extended by org.apache.hadoop.hbase.thrift.generated.Hbase.get_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Hbase.get_args>, org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>
Enclosing class:
Hbase

public static class Hbase.get_args
extends Object
implements org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class Hbase.get_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 Map<ByteBuffer,ByteBuffer> attributes
          Get attributes
 ByteBuffer column
          column name
static Map<Hbase.get_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 ByteBuffer row
          row key
 ByteBuffer tableName
          name of table
 
Constructor Summary
Hbase.get_args()
           
Hbase.get_args(ByteBuffer tableName, ByteBuffer row, ByteBuffer column, Map<ByteBuffer,ByteBuffer> attributes)
           
Hbase.get_args(Hbase.get_args other)
          Performs a deep copy on other.
 
Method Summary
 ByteBuffer bufferForColumn()
           
 ByteBuffer bufferForRow()
           
 ByteBuffer bufferForTableName()
           
 void clear()
           
 int compareTo(Hbase.get_args other)
           
 Hbase.get_args deepCopy()
           
 boolean equals(Hbase.get_args that)
           
 boolean equals(Object that)
           
 Hbase.get_args._Fields fieldForId(int fieldId)
           
 Map<ByteBuffer,ByteBuffer> getAttributes()
          Get attributes
 int getAttributesSize()
           
 byte[] getColumn()
          column name
 Object getFieldValue(Hbase.get_args._Fields field)
           
 byte[] getRow()
          row key
 byte[] getTableName()
          name of table
 int hashCode()
           
 boolean isSet(Hbase.get_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetAttributes()
          Returns true if field attributes is set (has been assigned a value) and false otherwise
 boolean isSetColumn()
          Returns true if field column is set (has been assigned a value) and false otherwise
 boolean isSetRow()
          Returns true if field row is set (has been assigned a value) and false otherwise
 boolean isSetTableName()
          Returns true if field tableName is set (has been assigned a value) and false otherwise
 void putToAttributes(ByteBuffer key, ByteBuffer val)
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 Hbase.get_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
          Get attributes
 void setAttributesIsSet(boolean value)
           
 Hbase.get_args setColumn(byte[] column)
          column name
 Hbase.get_args setColumn(ByteBuffer column)
           
 void setColumnIsSet(boolean value)
           
 void setFieldValue(Hbase.get_args._Fields field, Object value)
           
 Hbase.get_args setRow(byte[] row)
          row key
 Hbase.get_args setRow(ByteBuffer row)
           
 void setRowIsSet(boolean value)
           
 Hbase.get_args setTableName(byte[] tableName)
          name of table
 Hbase.get_args setTableName(ByteBuffer tableName)
           
 void setTableNameIsSet(boolean value)
           
 String toString()
           
 void unsetAttributes()
           
 void unsetColumn()
           
 void unsetRow()
           
 void unsetTableName()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tableName

public ByteBuffer tableName
name of table


row

public ByteBuffer row
row key


column

public ByteBuffer column
column name


attributes

public Map<ByteBuffer,ByteBuffer> attributes
Get attributes


metaDataMap

public static final Map<Hbase.get_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

Hbase.get_args

public Hbase.get_args()

Hbase.get_args

public Hbase.get_args(ByteBuffer tableName,
                      ByteBuffer row,
                      ByteBuffer column,
                      Map<ByteBuffer,ByteBuffer> attributes)

Hbase.get_args

public Hbase.get_args(Hbase.get_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public Hbase.get_args deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>

getTableName

public byte[] getTableName()
name of table


bufferForTableName

public ByteBuffer bufferForTableName()

setTableName

public Hbase.get_args setTableName(byte[] tableName)
name of table


setTableName

public Hbase.get_args setTableName(ByteBuffer tableName)

unsetTableName

public void unsetTableName()

isSetTableName

public boolean isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise


setTableNameIsSet

public void setTableNameIsSet(boolean value)

getRow

public byte[] getRow()
row key


bufferForRow

public ByteBuffer bufferForRow()

setRow

public Hbase.get_args setRow(byte[] row)
row key


setRow

public Hbase.get_args setRow(ByteBuffer row)

unsetRow

public void unsetRow()

isSetRow

public boolean isSetRow()
Returns true if field row is set (has been assigned a value) and false otherwise


setRowIsSet

public void setRowIsSet(boolean value)

getColumn

public byte[] getColumn()
column name


bufferForColumn

public ByteBuffer bufferForColumn()

setColumn

public Hbase.get_args setColumn(byte[] column)
column name


setColumn

public Hbase.get_args setColumn(ByteBuffer column)

unsetColumn

public void unsetColumn()

isSetColumn

public boolean isSetColumn()
Returns true if field column is set (has been assigned a value) and false otherwise


setColumnIsSet

public void setColumnIsSet(boolean value)

getAttributesSize

public int getAttributesSize()

putToAttributes

public void putToAttributes(ByteBuffer key,
                            ByteBuffer val)

getAttributes

public Map<ByteBuffer,ByteBuffer> getAttributes()
Get attributes


setAttributes

public Hbase.get_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
Get attributes


unsetAttributes

public void unsetAttributes()

isSetAttributes

public boolean isSetAttributes()
Returns true if field attributes is set (has been assigned a value) and false otherwise


setAttributesIsSet

public void setAttributesIsSet(boolean value)

setFieldValue

public void setFieldValue(Hbase.get_args._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>

getFieldValue

public Object getFieldValue(Hbase.get_args._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>

isSet

public boolean isSet(Hbase.get_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(Hbase.get_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Hbase.get_args other)
Specified by:
compareTo in interface Comparable<Hbase.get_args>

fieldForId

public Hbase.get_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<Hbase.get_args,Hbase.get_args._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.