org.apache.accumulo.core.tabletserver.thrift
Class TabletClientService.flush_args

java.lang.Object
  extended by org.apache.accumulo.core.tabletserver.thrift.TabletClientService.flush_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TabletClientService.flush_args>, org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>
Enclosing class:
TabletClientService

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

See Also:
Serialized Form

Nested Class Summary
static class TabletClientService.flush_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 TCredentials credentials
           
 ByteBuffer endRow
           
 String lock
           
static Map<TabletClientService.flush_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 ByteBuffer startRow
           
 String tableId
           
 TInfo tinfo
           
 
Constructor Summary
TabletClientService.flush_args()
           
TabletClientService.flush_args(TabletClientService.flush_args other)
          Performs a deep copy on other.
TabletClientService.flush_args(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)
           
 
Method Summary
 ByteBuffer bufferForEndRow()
           
 ByteBuffer bufferForStartRow()
           
 void clear()
           
 int compareTo(TabletClientService.flush_args other)
           
 TabletClientService.flush_args deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(TabletClientService.flush_args that)
           
 TabletClientService.flush_args._Fields fieldForId(int fieldId)
           
 TCredentials getCredentials()
           
 byte[] getEndRow()
           
 Object getFieldValue(TabletClientService.flush_args._Fields field)
           
 String getLock()
           
 byte[] getStartRow()
           
 String getTableId()
           
 TInfo getTinfo()
           
 int hashCode()
           
 boolean isSet(TabletClientService.flush_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetCredentials()
          Returns true if field credentials is set (has been assigned a value) and false otherwise
 boolean isSetEndRow()
          Returns true if field endRow is set (has been assigned a value) and false otherwise
 boolean isSetLock()
          Returns true if field lock is set (has been assigned a value) and false otherwise
 boolean isSetStartRow()
          Returns true if field startRow is set (has been assigned a value) and false otherwise
 boolean isSetTableId()
          Returns true if field tableId is set (has been assigned a value) and false otherwise
 boolean isSetTinfo()
          Returns true if field tinfo is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 TabletClientService.flush_args setCredentials(TCredentials credentials)
           
 void setCredentialsIsSet(boolean value)
           
 TabletClientService.flush_args setEndRow(byte[] endRow)
           
 TabletClientService.flush_args setEndRow(ByteBuffer endRow)
           
 void setEndRowIsSet(boolean value)
           
 void setFieldValue(TabletClientService.flush_args._Fields field, Object value)
           
 TabletClientService.flush_args setLock(String lock)
           
 void setLockIsSet(boolean value)
           
 TabletClientService.flush_args setStartRow(byte[] startRow)
           
 TabletClientService.flush_args setStartRow(ByteBuffer startRow)
           
 void setStartRowIsSet(boolean value)
           
 TabletClientService.flush_args setTableId(String tableId)
           
 void setTableIdIsSet(boolean value)
           
 TabletClientService.flush_args setTinfo(TInfo tinfo)
           
 void setTinfoIsSet(boolean value)
           
 String toString()
           
 void unsetCredentials()
           
 void unsetEndRow()
           
 void unsetLock()
           
 void unsetStartRow()
           
 void unsetTableId()
           
 void unsetTinfo()
           
 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

tinfo

public TInfo tinfo

credentials

public TCredentials credentials

lock

public String lock

tableId

public String tableId

startRow

public ByteBuffer startRow

endRow

public ByteBuffer endRow

metaDataMap

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

TabletClientService.flush_args

public TabletClientService.flush_args()

TabletClientService.flush_args

public TabletClientService.flush_args(TInfo tinfo,
                                      TCredentials credentials,
                                      String lock,
                                      String tableId,
                                      ByteBuffer startRow,
                                      ByteBuffer endRow)

TabletClientService.flush_args

public TabletClientService.flush_args(TabletClientService.flush_args other)
Performs a deep copy on other.

Method Detail

deepCopy

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

clear

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

getTinfo

public TInfo getTinfo()

setTinfo

public TabletClientService.flush_args setTinfo(TInfo tinfo)

unsetTinfo

public void unsetTinfo()

isSetTinfo

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


setTinfoIsSet

public void setTinfoIsSet(boolean value)

getCredentials

public TCredentials getCredentials()

setCredentials

public TabletClientService.flush_args setCredentials(TCredentials credentials)

unsetCredentials

public void unsetCredentials()

isSetCredentials

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


setCredentialsIsSet

public void setCredentialsIsSet(boolean value)

getLock

public String getLock()

setLock

public TabletClientService.flush_args setLock(String lock)

unsetLock

public void unsetLock()

isSetLock

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


setLockIsSet

public void setLockIsSet(boolean value)

getTableId

public String getTableId()

setTableId

public TabletClientService.flush_args setTableId(String tableId)

unsetTableId

public void unsetTableId()

isSetTableId

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


setTableIdIsSet

public void setTableIdIsSet(boolean value)

getStartRow

public byte[] getStartRow()

bufferForStartRow

public ByteBuffer bufferForStartRow()

setStartRow

public TabletClientService.flush_args setStartRow(byte[] startRow)

setStartRow

public TabletClientService.flush_args setStartRow(ByteBuffer startRow)

unsetStartRow

public void unsetStartRow()

isSetStartRow

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


setStartRowIsSet

public void setStartRowIsSet(boolean value)

getEndRow

public byte[] getEndRow()

bufferForEndRow

public ByteBuffer bufferForEndRow()

setEndRow

public TabletClientService.flush_args setEndRow(byte[] endRow)

setEndRow

public TabletClientService.flush_args setEndRow(ByteBuffer endRow)

unsetEndRow

public void unsetEndRow()

isSetEndRow

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


setEndRowIsSet

public void setEndRowIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(TabletClientService.flush_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<TabletClientService.flush_args,TabletClientService.flush_args._Fields>

equals

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

equals

public boolean equals(TabletClientService.flush_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(TabletClientService.flush_args other)
Specified by:
compareTo in interface Comparable<TabletClientService.flush_args>

fieldForId

public TabletClientService.flush_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_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<TabletClientService.flush_args,TabletClientService.flush_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<TabletClientService.flush_args,TabletClientService.flush_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 Apache Accumulo Project. All Rights Reserved.