Class BulkImportStatus
- java.lang.Object
-
- org.apache.accumulo.core.master.thrift.BulkImportStatus
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<BulkImportStatus>
,org.apache.thrift.TBase<BulkImportStatus,BulkImportStatus._Fields>
,org.apache.thrift.TSerializable
public class BulkImportStatus extends Object implements org.apache.thrift.TBase<BulkImportStatus,BulkImportStatus._Fields>, Serializable, Cloneable, Comparable<BulkImportStatus>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BulkImportStatus._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 String
filename
static Map<BulkImportStatus._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
long
startTime
BulkImportState
state
-
Constructor Summary
Constructors Constructor Description BulkImportStatus()
BulkImportStatus(long startTime, String filename, BulkImportState state)
BulkImportStatus(BulkImportStatus other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(BulkImportStatus other)
BulkImportStatus
deepCopy()
boolean
equals(Object that)
boolean
equals(BulkImportStatus that)
BulkImportStatus._Fields
fieldForId(int fieldId)
Object
getFieldValue(BulkImportStatus._Fields field)
String
getFilename()
long
getStartTime()
BulkImportState
getState()
int
hashCode()
boolean
isSet(BulkImportStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetFilename()
Returns true if field filename is set (has been assigned a value) and false otherwiseboolean
isSetStartTime()
Returns true if field startTime is set (has been assigned a value) and false otherwiseboolean
isSetState()
Returns true if field state is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(BulkImportStatus._Fields field, Object value)
BulkImportStatus
setFilename(String filename)
void
setFilenameIsSet(boolean value)
BulkImportStatus
setStartTime(long startTime)
void
setStartTimeIsSet(boolean value)
BulkImportStatus
setState(BulkImportState state)
void
setStateIsSet(boolean value)
String
toString()
void
unsetFilename()
void
unsetStartTime()
void
unsetState()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
startTime
public long startTime
-
filename
public String filename
-
state
public BulkImportState state
- See Also:
BulkImportState
-
metaDataMap
public static final Map<BulkImportStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
BulkImportStatus
public BulkImportStatus()
-
BulkImportStatus
public BulkImportStatus(long startTime, String filename, BulkImportState state)
-
BulkImportStatus
public BulkImportStatus(BulkImportStatus other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BulkImportStatus deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<BulkImportStatus,BulkImportStatus._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<BulkImportStatus,BulkImportStatus._Fields>
-
getStartTime
public long getStartTime()
-
setStartTime
public BulkImportStatus setStartTime(long startTime)
-
unsetStartTime
public void unsetStartTime()
-
isSetStartTime
public boolean isSetStartTime()
Returns true if field startTime is set (has been assigned a value) and false otherwise
-
setStartTimeIsSet
public void setStartTimeIsSet(boolean value)
-
getFilename
public String getFilename()
-
setFilename
public BulkImportStatus setFilename(String filename)
-
unsetFilename
public void unsetFilename()
-
isSetFilename
public boolean isSetFilename()
Returns true if field filename is set (has been assigned a value) and false otherwise
-
setFilenameIsSet
public void setFilenameIsSet(boolean value)
-
getState
public BulkImportState getState()
- See Also:
BulkImportState
-
setState
public BulkImportStatus setState(BulkImportState state)
- See Also:
BulkImportState
-
unsetState
public void unsetState()
-
isSetState
public boolean isSetState()
Returns true if field state is set (has been assigned a value) and false otherwise
-
setStateIsSet
public void setStateIsSet(boolean value)
-
setFieldValue
public void setFieldValue(BulkImportStatus._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<BulkImportStatus,BulkImportStatus._Fields>
-
getFieldValue
public Object getFieldValue(BulkImportStatus._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<BulkImportStatus,BulkImportStatus._Fields>
-
isSet
public boolean isSet(BulkImportStatus._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<BulkImportStatus,BulkImportStatus._Fields>
-
equals
public boolean equals(BulkImportStatus that)
-
compareTo
public int compareTo(BulkImportStatus other)
- Specified by:
compareTo
in interfaceComparable<BulkImportStatus>
-
fieldForId
public BulkImportStatus._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<BulkImportStatus,BulkImportStatus._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
-
-