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>
- 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 class
TabletClientService.compact_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TCredentials
credentials
ByteBuffer
endRow
String
lock
static Map<TabletClientService.compact_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
ByteBuffer
startRow
String
tableId
TInfo
tinfo
-
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 ByteBuffer
bufferForEndRow()
ByteBuffer
bufferForStartRow()
void
clear()
int
compareTo(TabletClientService.compact_args other)
TabletClientService.compact_args
deepCopy()
boolean
equals(Object that)
boolean
equals(TabletClientService.compact_args that)
TabletClientService.compact_args._Fields
fieldForId(int fieldId)
TCredentials
getCredentials()
byte[]
getEndRow()
Object
getFieldValue(TabletClientService.compact_args._Fields field)
String
getLock()
byte[]
getStartRow()
String
getTableId()
TInfo
getTinfo()
int
hashCode()
boolean
isSet(TabletClientService.compact_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetCredentials()
Returns true if field credentials is set (has been assigned a value) and false otherwiseboolean
isSetEndRow()
Returns true if field endRow is set (has been assigned a value) and false otherwiseboolean
isSetLock()
Returns true if field lock is set (has been assigned a value) and false otherwiseboolean
isSetStartRow()
Returns true if field startRow is set (has been assigned a value) and false otherwiseboolean
isSetTableId()
Returns true if field tableId is set (has been assigned a value) and false otherwiseboolean
isSetTinfo()
Returns true if field tinfo is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
TabletClientService.compact_args
setCredentials(TCredentials credentials)
void
setCredentialsIsSet(boolean value)
TabletClientService.compact_args
setEndRow(byte[] endRow)
TabletClientService.compact_args
setEndRow(ByteBuffer endRow)
void
setEndRowIsSet(boolean value)
void
setFieldValue(TabletClientService.compact_args._Fields field, Object value)
TabletClientService.compact_args
setLock(String lock)
void
setLockIsSet(boolean value)
TabletClientService.compact_args
setStartRow(byte[] startRow)
TabletClientService.compact_args
setStartRow(ByteBuffer startRow)
void
setStartRowIsSet(boolean value)
TabletClientService.compact_args
setTableId(String tableId)
void
setTableIdIsSet(boolean value)
TabletClientService.compact_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)
-
-
-
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:
deepCopy
in interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in 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:
setFieldValue
in interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>
-
getFieldValue
public Object getFieldValue(TabletClientService.compact_args._Fields field)
- Specified by:
getFieldValue
in 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:
isSet
in 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:
compareTo
in interfaceComparable<TabletClientService.compact_args>
-
fieldForId
public TabletClientService.compact_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in 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:
read
in interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_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 interfaceorg.apache.thrift.TBase<TabletClientService.compact_args,TabletClientService.compact_args._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-