Class MasterClientService.drainReplicationTable_args
- java.lang.Object
-
- org.apache.accumulo.core.master.thrift.MasterClientService.drainReplicationTable_args
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<MasterClientService.drainReplicationTable_args>
,org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
- Enclosing class:
- MasterClientService
public static class MasterClientService.drainReplicationTable_args extends Object implements org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>, Serializable, Cloneable, Comparable<MasterClientService.drainReplicationTable_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MasterClientService.drainReplicationTable_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
Set<String>
logsToWatch
static Map<MasterClientService.drainReplicationTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
String
tableName
TInfo
tfino
-
Constructor Summary
Constructors Constructor Description drainReplicationTable_args()
drainReplicationTable_args(MasterClientService.drainReplicationTable_args other)
Performs a deep copy on other.drainReplicationTable_args(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch)
-
Method Summary
-
-
-
Field Detail
-
tfino
public TInfo tfino
-
credentials
public TCredentials credentials
-
tableName
public String tableName
-
metaDataMap
public static final Map<MasterClientService.drainReplicationTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
drainReplicationTable_args
public drainReplicationTable_args()
-
drainReplicationTable_args
public drainReplicationTable_args(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch)
-
drainReplicationTable_args
public drainReplicationTable_args(MasterClientService.drainReplicationTable_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public MasterClientService.drainReplicationTable_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
-
getTfino
public TInfo getTfino()
-
setTfino
public MasterClientService.drainReplicationTable_args setTfino(TInfo tfino)
-
unsetTfino
public void unsetTfino()
-
isSetTfino
public boolean isSetTfino()
Returns true if field tfino is set (has been assigned a value) and false otherwise
-
setTfinoIsSet
public void setTfinoIsSet(boolean value)
-
getCredentials
public TCredentials getCredentials()
-
setCredentials
public MasterClientService.drainReplicationTable_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)
-
getTableName
public String getTableName()
-
setTableName
public MasterClientService.drainReplicationTable_args setTableName(String tableName)
-
unsetTableName
public void unsetTableName()
-
isSetTableName
public boolean isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
-
setTableNameIsSet
public void setTableNameIsSet(boolean value)
-
getLogsToWatchSize
public int getLogsToWatchSize()
-
addToLogsToWatch
public void addToLogsToWatch(String elem)
-
setLogsToWatch
public MasterClientService.drainReplicationTable_args setLogsToWatch(Set<String> logsToWatch)
-
unsetLogsToWatch
public void unsetLogsToWatch()
-
isSetLogsToWatch
public boolean isSetLogsToWatch()
Returns true if field logsToWatch is set (has been assigned a value) and false otherwise
-
setLogsToWatchIsSet
public void setLogsToWatchIsSet(boolean value)
-
setFieldValue
public void setFieldValue(MasterClientService.drainReplicationTable_args._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
-
getFieldValue
public Object getFieldValue(MasterClientService.drainReplicationTable_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
-
isSet
public boolean isSet(MasterClientService.drainReplicationTable_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<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
-
equals
public boolean equals(MasterClientService.drainReplicationTable_args that)
-
compareTo
public int compareTo(MasterClientService.drainReplicationTable_args other)
- Specified by:
compareTo
in interfaceComparable<MasterClientService.drainReplicationTable_args>
-
fieldForId
public MasterClientService.drainReplicationTable_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_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<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_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<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-