Class TVersionedProperties
- java.lang.Object
-
- org.apache.accumulo.core.clientImpl.thrift.TVersionedProperties
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TVersionedProperties>
,org.apache.thrift.TBase<TVersionedProperties,TVersionedProperties._Fields>
,org.apache.thrift.TSerializable
public class TVersionedProperties extends Object implements org.apache.thrift.TBase<TVersionedProperties,TVersionedProperties._Fields>, Serializable, Cloneable, Comparable<TVersionedProperties>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TVersionedProperties._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 static Map<TVersionedProperties._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
Map<String,String>
properties
long
version
-
Constructor Summary
Constructors Constructor Description TVersionedProperties()
TVersionedProperties(long version, Map<String,String> properties)
TVersionedProperties(TVersionedProperties other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TVersionedProperties other)
TVersionedProperties
deepCopy()
boolean
equals(Object that)
boolean
equals(TVersionedProperties that)
TVersionedProperties._Fields
fieldForId(int fieldId)
Object
getFieldValue(TVersionedProperties._Fields field)
Map<String,String>
getProperties()
int
getPropertiesSize()
long
getVersion()
int
hashCode()
boolean
isSet(TVersionedProperties._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetProperties()
Returns true if field properties is set (has been assigned a value) and false otherwiseboolean
isSetVersion()
Returns true if field version is set (has been assigned a value) and false otherwisevoid
putToProperties(String key, String val)
void
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(TVersionedProperties._Fields field, Object value)
TVersionedProperties
setProperties(Map<String,String> properties)
void
setPropertiesIsSet(boolean value)
TVersionedProperties
setVersion(long version)
void
setVersionIsSet(boolean value)
String
toString()
void
unsetProperties()
void
unsetVersion()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
version
public long version
-
metaDataMap
public static final Map<TVersionedProperties._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TVersionedProperties
public TVersionedProperties()
-
TVersionedProperties
public TVersionedProperties(TVersionedProperties other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TVersionedProperties deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TVersionedProperties,TVersionedProperties._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TVersionedProperties,TVersionedProperties._Fields>
-
getVersion
public long getVersion()
-
setVersion
public TVersionedProperties setVersion(long version)
-
unsetVersion
public void unsetVersion()
-
isSetVersion
public boolean isSetVersion()
Returns true if field version is set (has been assigned a value) and false otherwise
-
setVersionIsSet
public void setVersionIsSet(boolean value)
-
getPropertiesSize
public int getPropertiesSize()
-
setProperties
public TVersionedProperties setProperties(Map<String,String> properties)
-
unsetProperties
public void unsetProperties()
-
isSetProperties
public boolean isSetProperties()
Returns true if field properties is set (has been assigned a value) and false otherwise
-
setPropertiesIsSet
public void setPropertiesIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TVersionedProperties._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TVersionedProperties,TVersionedProperties._Fields>
-
getFieldValue
public Object getFieldValue(TVersionedProperties._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TVersionedProperties,TVersionedProperties._Fields>
-
isSet
public boolean isSet(TVersionedProperties._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<TVersionedProperties,TVersionedProperties._Fields>
-
equals
public boolean equals(TVersionedProperties that)
-
compareTo
public int compareTo(TVersionedProperties other)
- Specified by:
compareTo
in interfaceComparable<TVersionedProperties>
-
fieldForId
public TVersionedProperties._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TVersionedProperties,TVersionedProperties._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
-
-