Class MapFileInfo
- java.lang.Object
-
- org.apache.accumulo.core.dataImpl.thrift.MapFileInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<MapFileInfo>,org.apache.thrift.TBase<MapFileInfo,MapFileInfo._Fields>,org.apache.thrift.TSerializable
public class MapFileInfo extends Object implements org.apache.thrift.TBase<MapFileInfo,MapFileInfo._Fields>, Serializable, Cloneable, Comparable<MapFileInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapFileInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longestimatedSizestatic Map<MapFileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description MapFileInfo()MapFileInfo(long estimatedSize)MapFileInfo(MapFileInfo other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(MapFileInfo other)MapFileInfodeepCopy()booleanequals(Object that)booleanequals(MapFileInfo that)MapFileInfo._FieldsfieldForId(int fieldId)longgetEstimatedSize()ObjectgetFieldValue(MapFileInfo._Fields field)inthashCode()booleanisSet(MapFileInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetEstimatedSize()Returns true if field estimatedSize is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)MapFileInfosetEstimatedSize(long estimatedSize)voidsetEstimatedSizeIsSet(boolean value)voidsetFieldValue(MapFileInfo._Fields field, Object value)StringtoString()voidunsetEstimatedSize()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
estimatedSize
public long estimatedSize
-
metaDataMap
public static final Map<MapFileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
MapFileInfo
public MapFileInfo()
-
MapFileInfo
public MapFileInfo(long estimatedSize)
-
MapFileInfo
public MapFileInfo(MapFileInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public MapFileInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<MapFileInfo,MapFileInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<MapFileInfo,MapFileInfo._Fields>
-
getEstimatedSize
public long getEstimatedSize()
-
setEstimatedSize
public MapFileInfo setEstimatedSize(long estimatedSize)
-
unsetEstimatedSize
public void unsetEstimatedSize()
-
isSetEstimatedSize
public boolean isSetEstimatedSize()
Returns true if field estimatedSize is set (has been assigned a value) and false otherwise
-
setEstimatedSizeIsSet
public void setEstimatedSizeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(MapFileInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<MapFileInfo,MapFileInfo._Fields>
-
getFieldValue
public Object getFieldValue(MapFileInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<MapFileInfo,MapFileInfo._Fields>
-
isSet
public boolean isSet(MapFileInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<MapFileInfo,MapFileInfo._Fields>
-
equals
public boolean equals(MapFileInfo that)
-
compareTo
public int compareTo(MapFileInfo other)
- Specified by:
compareToin interfaceComparable<MapFileInfo>
-
fieldForId
public MapFileInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<MapFileInfo,MapFileInfo._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-