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>
Modifier and Type | Class and Description |
---|---|
static class |
MasterClientService.drainReplicationTable_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
TCredentials |
credentials |
Set<String> |
logsToWatch |
static Map<MasterClientService.drainReplicationTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
tableName |
TInfo |
tfino |
Constructor and Description |
---|
MasterClientService.drainReplicationTable_args() |
MasterClientService.drainReplicationTable_args(MasterClientService.drainReplicationTable_args other)
Performs a deep copy on other.
|
MasterClientService.drainReplicationTable_args(TInfo tfino,
TCredentials credentials,
String tableName,
Set<String> logsToWatch) |
public TInfo tfino
public TCredentials credentials
public String tableName
public static final Map<MasterClientService.drainReplicationTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public MasterClientService.drainReplicationTable_args()
public MasterClientService.drainReplicationTable_args(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch)
public MasterClientService.drainReplicationTable_args(MasterClientService.drainReplicationTable_args other)
public MasterClientService.drainReplicationTable_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
public TInfo getTfino()
public MasterClientService.drainReplicationTable_args setTfino(TInfo tfino)
public void unsetTfino()
public boolean isSetTfino()
public void setTfinoIsSet(boolean value)
public TCredentials getCredentials()
public MasterClientService.drainReplicationTable_args setCredentials(TCredentials credentials)
public void unsetCredentials()
public boolean isSetCredentials()
public void setCredentialsIsSet(boolean value)
public String getTableName()
public MasterClientService.drainReplicationTable_args setTableName(String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public int getLogsToWatchSize()
public void addToLogsToWatch(String elem)
public MasterClientService.drainReplicationTable_args setLogsToWatch(Set<String> logsToWatch)
public void unsetLogsToWatch()
public boolean isSetLogsToWatch()
public void setLogsToWatchIsSet(boolean value)
public void setFieldValue(MasterClientService.drainReplicationTable_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
public Object getFieldValue(MasterClientService.drainReplicationTable_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
public boolean isSet(MasterClientService.drainReplicationTable_args._Fields field)
isSet
in interface org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
public boolean equals(MasterClientService.drainReplicationTable_args that)
public int compareTo(MasterClientService.drainReplicationTable_args other)
compareTo
in interface Comparable<MasterClientService.drainReplicationTable_args>
public MasterClientService.drainReplicationTable_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<MasterClientService.drainReplicationTable_args,MasterClientService.drainReplicationTable_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.