Class TabletClientService.compact_args
- java.lang.Object
-
- org.apache.accumulo.core.tabletserver.thrift.TabletClientService.compact_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TabletClientService.compact_args>,org.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- TabletClientService
public static class TabletClientService.compact_args extends Object implements org.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>, Serializable, Cloneable, Comparable<TabletClientService.compact_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTabletClientService.compact_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TCredentialscredentialsByteBufferendRowStringlockstatic Map<TabletClientService.compact_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapByteBufferstartRowStringtableIdTInfotinfo
-
Constructor Summary
Constructors Constructor Description compact_args()compact_args(TabletClientService.compact_args other)Performs a deep copy on other.compact_args(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferbufferForEndRow()ByteBufferbufferForStartRow()voidclear()intcompareTo(TabletClientService.compact_args other)TabletClientService.compact_argsdeepCopy()booleanequals(Object that)booleanequals(TabletClientService.compact_args that)TabletClientService.compact_args._FieldsfieldForId(int fieldId)TCredentialsgetCredentials()byte[]getEndRow()ObjectgetFieldValue(TabletClientService.compact_args._Fields field)StringgetLock()byte[]getStartRow()StringgetTableId()TInfogetTinfo()inthashCode()booleanisSet(TabletClientService.compact_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCredentials()Returns true if field credentials is set (has been assigned a value) and false otherwisebooleanisSetEndRow()Returns true if field endRow is set (has been assigned a value) and false otherwisebooleanisSetLock()Returns true if field lock is set (has been assigned a value) and false otherwisebooleanisSetStartRow()Returns true if field startRow is set (has been assigned a value) and false otherwisebooleanisSetTableId()Returns true if field tableId is set (has been assigned a value) and false otherwisebooleanisSetTinfo()Returns true if field tinfo is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TabletClientService.compact_argssetCredentials(TCredentials credentials)voidsetCredentialsIsSet(boolean value)TabletClientService.compact_argssetEndRow(byte[] endRow)TabletClientService.compact_argssetEndRow(ByteBuffer endRow)voidsetEndRowIsSet(boolean value)voidsetFieldValue(TabletClientService.compact_args._Fields field, Object value)TabletClientService.compact_argssetLock(String lock)voidsetLockIsSet(boolean value)TabletClientService.compact_argssetStartRow(byte[] startRow)TabletClientService.compact_argssetStartRow(ByteBuffer startRow)voidsetStartRowIsSet(boolean value)TabletClientService.compact_argssetTableId(String tableId)voidsetTableIdIsSet(boolean value)TabletClientService.compact_argssetTinfo(TInfo tinfo)voidsetTinfoIsSet(boolean value)StringtoString()voidunsetCredentials()voidunsetEndRow()voidunsetLock()voidunsetStartRow()voidunsetTableId()voidunsetTinfo()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
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.compact_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
compact_args
public compact_args()
-
compact_args
public compact_args(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)
-
compact_args
public compact_args(TabletClientService.compact_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TabletClientService.compact_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>
-
getTinfo
public TInfo getTinfo()
-
setTinfo
public TabletClientService.compact_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.compact_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.compact_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.compact_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.compact_args setStartRow(byte[] startRow)
-
setStartRow
public TabletClientService.compact_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.compact_args setEndRow(byte[] endRow)
-
setEndRow
public TabletClientService.compact_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.compact_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>
-
getFieldValue
public Object getFieldValue(TabletClientService.compact_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>
-
isSet
public boolean isSet(TabletClientService.compact_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>
-
equals
public boolean equals(TabletClientService.compact_args that)
-
compareTo
public int compareTo(TabletClientService.compact_args other)
- Specified by:
compareToin interfaceComparable<TabletClientService.compact_args>
-
fieldForId
public TabletClientService.compact_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-