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