Class ClientService.bulkImportFiles_args
- java.lang.Object
-
- org.apache.accumulo.core.clientImpl.thrift.ClientService.bulkImportFiles_args
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ClientService.bulkImportFiles_args>
,org.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>
,org.apache.thrift.TSerializable
- Enclosing class:
- ClientService
public static class ClientService.bulkImportFiles_args extends Object implements org.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>, Serializable, Cloneable, Comparable<ClientService.bulkImportFiles_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientService.bulkImportFiles_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
errorDir
List<String>
files
static Map<ClientService.bulkImportFiles_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
boolean
setTime
String
tableId
long
tid
TInfo
tinfo
-
Constructor Summary
Constructors Constructor Description bulkImportFiles_args()
bulkImportFiles_args(ClientService.bulkImportFiles_args other)
Performs a deep copy on other.bulkImportFiles_args(TInfo tinfo, TCredentials credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToFiles(String elem)
void
clear()
int
compareTo(ClientService.bulkImportFiles_args other)
ClientService.bulkImportFiles_args
deepCopy()
boolean
equals(Object that)
boolean
equals(ClientService.bulkImportFiles_args that)
ClientService.bulkImportFiles_args._Fields
fieldForId(int fieldId)
TCredentials
getCredentials()
String
getErrorDir()
Object
getFieldValue(ClientService.bulkImportFiles_args._Fields field)
List<String>
getFiles()
Iterator<String>
getFilesIterator()
int
getFilesSize()
String
getTableId()
long
getTid()
TInfo
getTinfo()
int
hashCode()
boolean
isSet(ClientService.bulkImportFiles_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
isSetErrorDir()
Returns true if field errorDir 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
isSetTableId()
Returns true if field tableId 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
read(org.apache.thrift.protocol.TProtocol iprot)
ClientService.bulkImportFiles_args
setCredentials(TCredentials credentials)
void
setCredentialsIsSet(boolean value)
ClientService.bulkImportFiles_args
setErrorDir(String errorDir)
void
setErrorDirIsSet(boolean value)
void
setFieldValue(ClientService.bulkImportFiles_args._Fields field, Object value)
ClientService.bulkImportFiles_args
setFiles(List<String> files)
void
setFilesIsSet(boolean value)
ClientService.bulkImportFiles_args
setSetTime(boolean setTime)
void
setSetTimeIsSet(boolean value)
ClientService.bulkImportFiles_args
setTableId(String tableId)
void
setTableIdIsSet(boolean value)
ClientService.bulkImportFiles_args
setTid(long tid)
void
setTidIsSet(boolean value)
ClientService.bulkImportFiles_args
setTinfo(TInfo tinfo)
void
setTinfoIsSet(boolean value)
String
toString()
void
unsetCredentials()
void
unsetErrorDir()
void
unsetFiles()
void
unsetSetTime()
void
unsetTableId()
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
-
tableId
public String tableId
-
errorDir
public String errorDir
-
setTime
public boolean setTime
-
metaDataMap
public static final Map<ClientService.bulkImportFiles_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
bulkImportFiles_args
public bulkImportFiles_args()
-
bulkImportFiles_args
public bulkImportFiles_args(TInfo tinfo, TCredentials credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime)
-
bulkImportFiles_args
public bulkImportFiles_args(ClientService.bulkImportFiles_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ClientService.bulkImportFiles_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>
-
getTinfo
public TInfo getTinfo()
-
setTinfo
public ClientService.bulkImportFiles_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 ClientService.bulkImportFiles_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 ClientService.bulkImportFiles_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)
-
getTableId
public String getTableId()
-
setTableId
public ClientService.bulkImportFiles_args setTableId(String tableId)
-
unsetTableId
public void unsetTableId()
-
isSetTableId
public boolean isSetTableId()
Returns true if field tableId is set (has been assigned a value) and false otherwise
-
setTableIdIsSet
public void setTableIdIsSet(boolean value)
-
getFilesSize
public int getFilesSize()
-
addToFiles
public void addToFiles(String elem)
-
setFiles
public ClientService.bulkImportFiles_args setFiles(List<String> 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)
-
getErrorDir
public String getErrorDir()
-
setErrorDir
public ClientService.bulkImportFiles_args setErrorDir(String errorDir)
-
unsetErrorDir
public void unsetErrorDir()
-
isSetErrorDir
public boolean isSetErrorDir()
Returns true if field errorDir is set (has been assigned a value) and false otherwise
-
setErrorDirIsSet
public void setErrorDirIsSet(boolean value)
-
isSetTime
public boolean isSetTime()
-
setSetTime
public ClientService.bulkImportFiles_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(ClientService.bulkImportFiles_args._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>
-
getFieldValue
public Object getFieldValue(ClientService.bulkImportFiles_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>
-
isSet
public boolean isSet(ClientService.bulkImportFiles_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<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>
-
equals
public boolean equals(ClientService.bulkImportFiles_args that)
-
compareTo
public int compareTo(ClientService.bulkImportFiles_args other)
- Specified by:
compareTo
in interfaceComparable<ClientService.bulkImportFiles_args>
-
fieldForId
public ClientService.bulkImportFiles_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_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
-
-