org.apache.accumulo.core.data.thrift
Class TKeyExtent

java.lang.Object
  extended by org.apache.accumulo.core.data.thrift.TKeyExtent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TKeyExtent>, org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>

public class TKeyExtent
extends java.lang.Object
implements org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>, java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Nested Class Summary
static class TKeyExtent._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 byte[] endRow
           
static java.util.Map<TKeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 byte[] prevEndRow
           
 byte[] table
           
 
Constructor Summary
TKeyExtent()
           
TKeyExtent(byte[] table, byte[] endRow, byte[] prevEndRow)
           
TKeyExtent(TKeyExtent other)
          Performs a deep copy on other.
 
Method Summary
 TKeyExtent clone()
          Deprecated. 
 int compareTo(TKeyExtent other)
           
 TKeyExtent deepCopy()
           
 boolean equals(java.lang.Object that)
           
 boolean equals(TKeyExtent that)
           
 byte[] getEndRow()
           
 java.lang.Object getFieldValue(int fieldId)
           
 java.lang.Object getFieldValue(TKeyExtent._Fields field)
           
 byte[] getPrevEndRow()
           
 byte[] getTable()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSet(TKeyExtent._Fields field)
          Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
 boolean isSetEndRow()
          Returns true if field endRow is set (has been asigned a value) and false otherwise
 boolean isSetPrevEndRow()
          Returns true if field prevEndRow is set (has been asigned a value) and false otherwise
 boolean isSetTable()
          Returns true if field table is set (has been asigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 TKeyExtent setEndRow(byte[] endRow)
           
 void setEndRowIsSet(boolean value)
           
 void setFieldValue(int fieldID, java.lang.Object value)
           
 void setFieldValue(TKeyExtent._Fields field, java.lang.Object value)
           
 TKeyExtent setPrevEndRow(byte[] prevEndRow)
           
 void setPrevEndRowIsSet(boolean value)
           
 TKeyExtent setTable(byte[] table)
           
 void setTableIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetEndRow()
           
 void unsetPrevEndRow()
           
 void unsetTable()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

table

public byte[] table

endRow

public byte[] endRow

prevEndRow

public byte[] prevEndRow

metaDataMap

public static final java.util.Map<TKeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

TKeyExtent

public TKeyExtent()

TKeyExtent

public TKeyExtent(byte[] table,
                  byte[] endRow,
                  byte[] prevEndRow)

TKeyExtent

public TKeyExtent(TKeyExtent other)
Performs a deep copy on other.

Method Detail

deepCopy

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

clone

@Deprecated
public TKeyExtent clone()
Deprecated. 

Overrides:
clone in class java.lang.Object

getTable

public byte[] getTable()

setTable

public TKeyExtent setTable(byte[] table)

unsetTable

public void unsetTable()

isSetTable

public boolean isSetTable()
Returns true if field table is set (has been asigned a value) and false otherwise


setTableIsSet

public void setTableIsSet(boolean value)

getEndRow

public byte[] getEndRow()

setEndRow

public TKeyExtent setEndRow(byte[] endRow)

unsetEndRow

public void unsetEndRow()

isSetEndRow

public boolean isSetEndRow()
Returns true if field endRow is set (has been asigned a value) and false otherwise


setEndRowIsSet

public void setEndRowIsSet(boolean value)

getPrevEndRow

public byte[] getPrevEndRow()

setPrevEndRow

public TKeyExtent setPrevEndRow(byte[] prevEndRow)

unsetPrevEndRow

public void unsetPrevEndRow()

isSetPrevEndRow

public boolean isSetPrevEndRow()
Returns true if field prevEndRow is set (has been asigned a value) and false otherwise


setPrevEndRowIsSet

public void setPrevEndRowIsSet(boolean value)

setFieldValue

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

setFieldValue

public void setFieldValue(int fieldID,
                          java.lang.Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>

getFieldValue

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

getFieldValue

public java.lang.Object getFieldValue(int fieldId)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>

isSet

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

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

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(TKeyExtent that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(TKeyExtent other)
Specified by:
compareTo in interface java.lang.Comparable<TKeyExtent>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._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<TKeyExtent,TKeyExtent._Fields>
Throws:
org.apache.thrift.TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

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


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