Class TabletIngestClientService.loadFiles_args
- java.lang.Object
-
- org.apache.accumulo.core.tabletingest.thrift.TabletIngestClientService.loadFiles_args
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TabletIngestClientService.loadFiles_args>
,org.apache.thrift.TBase<TabletIngestClientService.loadFiles_args,TabletIngestClientService.loadFiles_args._Fields>
,org.apache.thrift.TSerializable
- Enclosing class:
- TabletIngestClientService
public static class TabletIngestClientService.loadFiles_args extends Object implements org.apache.thrift.TBase<TabletIngestClientService.loadFiles_args,TabletIngestClientService.loadFiles_args._Fields>, Serializable, Cloneable, Comparable<TabletIngestClientService.loadFiles_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TabletIngestClientService.loadFiles_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
String
dir
Map<TKeyExtent,Map<String,DataFileInfo>>
files
static Map<TabletIngestClientService.loadFiles_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
boolean
setTime
long
tid
TInfo
tinfo
-
Constructor Summary
Constructors Constructor Description loadFiles_args()
loadFiles_args(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,DataFileInfo>> files, boolean setTime)
loadFiles_args(TabletIngestClientService.loadFiles_args other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TabletIngestClientService.loadFiles_args other)
TabletIngestClientService.loadFiles_args
deepCopy()
boolean
equals(Object that)
boolean
equals(TabletIngestClientService.loadFiles_args that)
TabletIngestClientService.loadFiles_args._Fields
fieldForId(int fieldId)
TCredentials
getCredentials()
String
getDir()
Object
getFieldValue(TabletIngestClientService.loadFiles_args._Fields field)
Map<TKeyExtent,Map<String,DataFileInfo>>
getFiles()
int
getFilesSize()
long
getTid()
TInfo
getTinfo()
int
hashCode()
boolean
isSet(TabletIngestClientService.loadFiles_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetCredentials()
Returns true if field credentials is set (has been assigned a value) and false otherwiseboolean
isSetDir()
Returns true if field dir is set (has been assigned a value) and false otherwiseboolean
isSetFiles()
Returns true if field files is set (has been assigned a value) and false otherwiseboolean
isSetSetTime()
Returns true if field setTime is set (has been assigned a value) and false otherwiseboolean
isSetTid()
Returns true if field tid is set (has been assigned a value) and false otherwiseboolean
isSetTime()
boolean
isSetTinfo()
Returns true if field tinfo is set (has been assigned a value) and false otherwisevoid
putToFiles(TKeyExtent key, Map<String,DataFileInfo> val)
void
read(org.apache.thrift.protocol.TProtocol iprot)
TabletIngestClientService.loadFiles_args
setCredentials(TCredentials credentials)
void
setCredentialsIsSet(boolean value)
TabletIngestClientService.loadFiles_args
setDir(String dir)
void
setDirIsSet(boolean value)
void
setFieldValue(TabletIngestClientService.loadFiles_args._Fields field, Object value)
TabletIngestClientService.loadFiles_args
setFiles(Map<TKeyExtent,Map<String,DataFileInfo>> files)
void
setFilesIsSet(boolean value)
TabletIngestClientService.loadFiles_args
setSetTime(boolean setTime)
void
setSetTimeIsSet(boolean value)
TabletIngestClientService.loadFiles_args
setTid(long tid)
void
setTidIsSet(boolean value)
TabletIngestClientService.loadFiles_args
setTinfo(TInfo tinfo)
void
setTinfoIsSet(boolean value)
String
toString()
void
unsetCredentials()
void
unsetDir()
void
unsetFiles()
void
unsetSetTime()
void
unsetTid()
void
unsetTinfo()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
tinfo
public TInfo tinfo
-
credentials
public TCredentials credentials
-
tid
public long tid
-
dir
public String dir
-
files
public Map<TKeyExtent,Map<String,DataFileInfo>> files
-
setTime
public boolean setTime
-
metaDataMap
public static final Map<TabletIngestClientService.loadFiles_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
loadFiles_args
public loadFiles_args()
-
loadFiles_args
public loadFiles_args(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,DataFileInfo>> files, boolean setTime)
-
loadFiles_args
public loadFiles_args(TabletIngestClientService.loadFiles_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TabletIngestClientService.loadFiles_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TabletIngestClientService.loadFiles_args,TabletIngestClientService.loadFiles_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TabletIngestClientService.loadFiles_args,TabletIngestClientService.loadFiles_args._Fields>
-
getTinfo
public TInfo getTinfo()
-
setTinfo
public TabletIngestClientService.loadFiles_args setTinfo(TInfo tinfo)
-
unsetTinfo
public void unsetTinfo()
-
isSetTinfo
public boolean isSetTinfo()
Returns true if field tinfo is set (has been assigned a value) and false otherwise
-
setTinfoIsSet
public void setTinfoIsSet(boolean value)
-
getCredentials
public TCredentials getCredentials()
-
setCredentials
public TabletIngestClientService.loadFiles_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)
-
getTid
public long getTid()
-
setTid
public TabletIngestClientService.loadFiles_args setTid(long tid)
-
unsetTid
public void unsetTid()
-
isSetTid
public boolean isSetTid()
Returns true if field tid is set (has been assigned a value) and false otherwise
-
setTidIsSet
public void setTidIsSet(boolean value)
-
getDir
public String getDir()
-
setDir
public TabletIngestClientService.loadFiles_args setDir(String dir)
-
unsetDir
public void unsetDir()
-
isSetDir
public boolean isSetDir()
Returns true if field dir is set (has been assigned a value) and false otherwise
-
setDirIsSet
public void setDirIsSet(boolean value)
-
getFilesSize
public int getFilesSize()
-
putToFiles
public void putToFiles(TKeyExtent key, Map<String,DataFileInfo> val)
-
getFiles
public Map<TKeyExtent,Map<String,DataFileInfo>> getFiles()
-
setFiles
public TabletIngestClientService.loadFiles_args setFiles(Map<TKeyExtent,Map<String,DataFileInfo>> files)
-
unsetFiles
public void unsetFiles()
-
isSetFiles
public boolean isSetFiles()
Returns true if field files is set (has been assigned a value) and false otherwise
-
setFilesIsSet
public void setFilesIsSet(boolean value)
-
isSetTime
public boolean isSetTime()
-
setSetTime
public TabletIngestClientService.loadFiles_args setSetTime(boolean setTime)
-
unsetSetTime
public void unsetSetTime()
-
isSetSetTime
public boolean isSetSetTime()
Returns true if field setTime is set (has been assigned a value) and false otherwise
-
setSetTimeIsSet
public void setSetTimeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TabletIngestClientService.loadFiles_args._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TabletIngestClientService.loadFiles_args,TabletIngestClientService.loadFiles_args._Fields>
-
getFieldValue
public Object getFieldValue(TabletIngestClientService.loadFiles_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TabletIngestClientService.loadFiles_args,TabletIngestClientService.loadFiles_args._Fields>
-
isSet
public boolean isSet(TabletIngestClientService.loadFiles_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<TabletIngestClientService.loadFiles_args,TabletIngestClientService.loadFiles_args._Fields>
-
equals
public boolean equals(TabletIngestClientService.loadFiles_args that)
-
compareTo
public int compareTo(TabletIngestClientService.loadFiles_args other)
- Specified by:
compareTo
in interfaceComparable<TabletIngestClientService.loadFiles_args>
-
fieldForId
public TabletIngestClientService.loadFiles_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TabletIngestClientService.loadFiles_args,TabletIngestClientService.loadFiles_args._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
-
-