Class ReplicationServicer.replicateKeyValues_args
- java.lang.Object
-
- org.apache.accumulo.core.replication.thrift.ReplicationServicer.replicateKeyValues_args
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ReplicationServicer.replicateKeyValues_args>
,org.apache.thrift.TBase<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_args._Fields>
- Enclosing class:
- ReplicationServicer
public static class ReplicationServicer.replicateKeyValues_args extends Object implements org.apache.thrift.TBase<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_args._Fields>, Serializable, Cloneable, Comparable<ReplicationServicer.replicateKeyValues_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReplicationServicer.replicateKeyValues_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
KeyValues
data
static Map<ReplicationServicer.replicateKeyValues_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
String
remoteTableId
-
Constructor Summary
Constructors Constructor Description replicateKeyValues_args()
replicateKeyValues_args(String remoteTableId, KeyValues data, TCredentials credentials)
replicateKeyValues_args(ReplicationServicer.replicateKeyValues_args other)
Performs a deep copy on other.
-
Method Summary
-
-
-
Field Detail
-
remoteTableId
public String remoteTableId
-
data
public KeyValues data
-
credentials
public TCredentials credentials
-
metaDataMap
public static final Map<ReplicationServicer.replicateKeyValues_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
replicateKeyValues_args
public replicateKeyValues_args()
-
replicateKeyValues_args
public replicateKeyValues_args(String remoteTableId, KeyValues data, TCredentials credentials)
-
replicateKeyValues_args
public replicateKeyValues_args(ReplicationServicer.replicateKeyValues_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ReplicationServicer.replicateKeyValues_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_args._Fields>
-
getRemoteTableId
public String getRemoteTableId()
-
setRemoteTableId
public ReplicationServicer.replicateKeyValues_args setRemoteTableId(String remoteTableId)
-
unsetRemoteTableId
public void unsetRemoteTableId()
-
isSetRemoteTableId
public boolean isSetRemoteTableId()
Returns true if field remoteTableId is set (has been assigned a value) and false otherwise
-
setRemoteTableIdIsSet
public void setRemoteTableIdIsSet(boolean value)
-
getData
public KeyValues getData()
-
setData
public ReplicationServicer.replicateKeyValues_args setData(KeyValues data)
-
unsetData
public void unsetData()
-
isSetData
public boolean isSetData()
Returns true if field data is set (has been assigned a value) and false otherwise
-
setDataIsSet
public void setDataIsSet(boolean value)
-
getCredentials
public TCredentials getCredentials()
-
setCredentials
public ReplicationServicer.replicateKeyValues_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)
-
setFieldValue
public void setFieldValue(ReplicationServicer.replicateKeyValues_args._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_args._Fields>
-
getFieldValue
public Object getFieldValue(ReplicationServicer.replicateKeyValues_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_args._Fields>
-
isSet
public boolean isSet(ReplicationServicer.replicateKeyValues_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<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_args._Fields>
-
equals
public boolean equals(ReplicationServicer.replicateKeyValues_args that)
-
compareTo
public int compareTo(ReplicationServicer.replicateKeyValues_args other)
- Specified by:
compareTo
in interfaceComparable<ReplicationServicer.replicateKeyValues_args>
-
fieldForId
public ReplicationServicer.replicateKeyValues_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_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<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_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<ReplicationServicer.replicateKeyValues_args,ReplicationServicer.replicateKeyValues_args._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-