org.apache.accumulo.core.client.impl.thrift
Class ClientService.bulkImportFiles_args

java.lang.Object
  extended by org.apache.accumulo.core.client.impl.thrift.ClientService.bulkImportFiles_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ClientService.bulkImportFiles_args>, org.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>
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

See Also:
Serialized Form

Nested Class Summary
static class ClientService.bulkImportFiles_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 AuthInfo 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
ClientService.bulkImportFiles_args()
           
ClientService.bulkImportFiles_args(ClientService.bulkImportFiles_args other)
          Performs a deep copy on other.
ClientService.bulkImportFiles_args(TInfo tinfo, AuthInfo credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime)
           
 
Method Summary
 void addToFiles(String elem)
           
 void clear()
           
 int compareTo(ClientService.bulkImportFiles_args other)
           
 ClientService.bulkImportFiles_args deepCopy()
           
 boolean equals(ClientService.bulkImportFiles_args that)
           
 boolean equals(Object that)
           
 ClientService.bulkImportFiles_args._Fields fieldForId(int fieldId)
           
 AuthInfo 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 otherwise
 boolean isSetCredentials()
          Returns true if field credentials is set (has been assigned a value) and false otherwise
 boolean isSetErrorDir()
          Returns true if field errorDir is set (has been assigned a value) and false otherwise
 boolean isSetFiles()
          Returns true if field files is set (has been assigned a value) and false otherwise
 boolean isSetSetTime()
          Returns true if field setTime is set (has been assigned a value) and false otherwise
 boolean isSetTableId()
          Returns true if field tableId is set (has been assigned a value) and false otherwise
 boolean isSetTid()
          Returns true if field tid is set (has been assigned a value) and false otherwise
 boolean isSetTime()
           
 boolean isSetTinfo()
          Returns true if field tinfo is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 ClientService.bulkImportFiles_args setCredentials(AuthInfo 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tinfo

public TInfo tinfo

credentials

public AuthInfo credentials

tid

public long tid

tableId

public String tableId

files

public List<String> files

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

ClientService.bulkImportFiles_args

public ClientService.bulkImportFiles_args()

ClientService.bulkImportFiles_args

public ClientService.bulkImportFiles_args(TInfo tinfo,
                                          AuthInfo credentials,
                                          long tid,
                                          String tableId,
                                          List<String> files,
                                          String errorDir,
                                          boolean setTime)

ClientService.bulkImportFiles_args

public ClientService.bulkImportFiles_args(ClientService.bulkImportFiles_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public ClientService.bulkImportFiles_args deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>

clear

public void clear()
Specified by:
clear in interface org.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 AuthInfo getCredentials()

setCredentials

public ClientService.bulkImportFiles_args setCredentials(AuthInfo 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()

getFilesIterator

public Iterator<String> getFilesIterator()

addToFiles

public void addToFiles(String elem)

getFiles

public List<String> getFiles()

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 interface org.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>

getFieldValue

public Object getFieldValue(ClientService.bulkImportFiles_args._Fields field)
Specified by:
getFieldValue in interface org.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 interface org.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(ClientService.bulkImportFiles_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(ClientService.bulkImportFiles_args other)
Specified by:
compareTo in interface Comparable<ClientService.bulkImportFiles_args>

fieldForId

public ClientService.bulkImportFiles_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.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 interface org.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<ClientService.bulkImportFiles_args,ClientService.bulkImportFiles_args._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.