Class TabletClientService.reserveCompactionJob_args
- java.lang.Object
-
- org.apache.accumulo.core.tabletserver.thrift.TabletClientService.reserveCompactionJob_args
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TabletClientService.reserveCompactionJob_args>
,org.apache.thrift.TBase<TabletClientService.reserveCompactionJob_args,TabletClientService.reserveCompactionJob_args._Fields>
,org.apache.thrift.TSerializable
- Enclosing class:
- TabletClientService
public static class TabletClientService.reserveCompactionJob_args extends Object implements org.apache.thrift.TBase<TabletClientService.reserveCompactionJob_args,TabletClientService.reserveCompactionJob_args._Fields>, Serializable, Cloneable, Comparable<TabletClientService.reserveCompactionJob_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TabletClientService.reserveCompactionJob_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 String
compactor
TCredentials
credentials
String
externalCompactionId
static Map<TabletClientService.reserveCompactionJob_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
long
priority
String
queueName
TInfo
tinfo
-
Constructor Summary
Constructors Constructor Description reserveCompactionJob_args()
reserveCompactionJob_args(TabletClientService.reserveCompactionJob_args other)
Performs a deep copy on other.reserveCompactionJob_args(TInfo tinfo, TCredentials credentials, String queueName, long priority, String compactor, String externalCompactionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TabletClientService.reserveCompactionJob_args other)
TabletClientService.reserveCompactionJob_args
deepCopy()
boolean
equals(Object that)
boolean
equals(TabletClientService.reserveCompactionJob_args that)
TabletClientService.reserveCompactionJob_args._Fields
fieldForId(int fieldId)
String
getCompactor()
TCredentials
getCredentials()
String
getExternalCompactionId()
Object
getFieldValue(TabletClientService.reserveCompactionJob_args._Fields field)
long
getPriority()
String
getQueueName()
TInfo
getTinfo()
int
hashCode()
boolean
isSet(TabletClientService.reserveCompactionJob_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetCompactor()
Returns true if field compactor 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
isSetExternalCompactionId()
Returns true if field externalCompactionId is set (has been assigned a value) and false otherwiseboolean
isSetPriority()
Returns true if field priority is set (has been assigned a value) and false otherwiseboolean
isSetQueueName()
Returns true if field queueName 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.reserveCompactionJob_args
setCompactor(String compactor)
void
setCompactorIsSet(boolean value)
TabletClientService.reserveCompactionJob_args
setCredentials(TCredentials credentials)
void
setCredentialsIsSet(boolean value)
TabletClientService.reserveCompactionJob_args
setExternalCompactionId(String externalCompactionId)
void
setExternalCompactionIdIsSet(boolean value)
void
setFieldValue(TabletClientService.reserveCompactionJob_args._Fields field, Object value)
TabletClientService.reserveCompactionJob_args
setPriority(long priority)
void
setPriorityIsSet(boolean value)
TabletClientService.reserveCompactionJob_args
setQueueName(String queueName)
void
setQueueNameIsSet(boolean value)
TabletClientService.reserveCompactionJob_args
setTinfo(TInfo tinfo)
void
setTinfoIsSet(boolean value)
String
toString()
void
unsetCompactor()
void
unsetCredentials()
void
unsetExternalCompactionId()
void
unsetPriority()
void
unsetQueueName()
void
unsetTinfo()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
tinfo
public TInfo tinfo
-
credentials
public TCredentials credentials
-
queueName
public String queueName
-
priority
public long priority
-
compactor
public String compactor
-
externalCompactionId
public String externalCompactionId
-
metaDataMap
public static final Map<TabletClientService.reserveCompactionJob_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
reserveCompactionJob_args
public reserveCompactionJob_args()
-
reserveCompactionJob_args
public reserveCompactionJob_args(TInfo tinfo, TCredentials credentials, String queueName, long priority, String compactor, String externalCompactionId)
-
reserveCompactionJob_args
public reserveCompactionJob_args(TabletClientService.reserveCompactionJob_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TabletClientService.reserveCompactionJob_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TabletClientService.reserveCompactionJob_args,TabletClientService.reserveCompactionJob_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TabletClientService.reserveCompactionJob_args,TabletClientService.reserveCompactionJob_args._Fields>
-
getTinfo
public TInfo getTinfo()
-
setTinfo
public TabletClientService.reserveCompactionJob_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.reserveCompactionJob_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)
-
getQueueName
public String getQueueName()
-
setQueueName
public TabletClientService.reserveCompactionJob_args setQueueName(String queueName)
-
unsetQueueName
public void unsetQueueName()
-
isSetQueueName
public boolean isSetQueueName()
Returns true if field queueName is set (has been assigned a value) and false otherwise
-
setQueueNameIsSet
public void setQueueNameIsSet(boolean value)
-
getPriority
public long getPriority()
-
setPriority
public TabletClientService.reserveCompactionJob_args setPriority(long priority)
-
unsetPriority
public void unsetPriority()
-
isSetPriority
public boolean isSetPriority()
Returns true if field priority is set (has been assigned a value) and false otherwise
-
setPriorityIsSet
public void setPriorityIsSet(boolean value)
-
getCompactor
public String getCompactor()
-
setCompactor
public TabletClientService.reserveCompactionJob_args setCompactor(String compactor)
-
unsetCompactor
public void unsetCompactor()
-
isSetCompactor
public boolean isSetCompactor()
Returns true if field compactor is set (has been assigned a value) and false otherwise
-
setCompactorIsSet
public void setCompactorIsSet(boolean value)
-
getExternalCompactionId
public String getExternalCompactionId()
-
setExternalCompactionId
public TabletClientService.reserveCompactionJob_args setExternalCompactionId(String externalCompactionId)
-
unsetExternalCompactionId
public void unsetExternalCompactionId()
-
isSetExternalCompactionId
public boolean isSetExternalCompactionId()
Returns true if field externalCompactionId is set (has been assigned a value) and false otherwise
-
setExternalCompactionIdIsSet
public void setExternalCompactionIdIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TabletClientService.reserveCompactionJob_args._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TabletClientService.reserveCompactionJob_args,TabletClientService.reserveCompactionJob_args._Fields>
-
getFieldValue
public Object getFieldValue(TabletClientService.reserveCompactionJob_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TabletClientService.reserveCompactionJob_args,TabletClientService.reserveCompactionJob_args._Fields>
-
isSet
public boolean isSet(TabletClientService.reserveCompactionJob_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.reserveCompactionJob_args,TabletClientService.reserveCompactionJob_args._Fields>
-
equals
public boolean equals(TabletClientService.reserveCompactionJob_args that)
-
compareTo
public int compareTo(TabletClientService.reserveCompactionJob_args other)
- Specified by:
compareTo
in interfaceComparable<TabletClientService.reserveCompactionJob_args>
-
fieldForId
public TabletClientService.reserveCompactionJob_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TabletClientService.reserveCompactionJob_args,TabletClientService.reserveCompactionJob_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in 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:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-