Package com.gpudb.protocol
Class ShowFilesResponse
java.lang.Object
com.gpudb.protocol.ShowFilesResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.showFiles.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theShowFilesResponseparameterinfo.Constructor Summary
ConstructorsConstructorDescriptionConstructs a ShowFilesResponse object with default parameters.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Creation time for each file, in milliseconds since epoch.A listing of files in the paths specified.getInfo()Additional information.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.getSizes()Size of each file, in bytes.getUsers()User that created the file.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setCreationTimes(List<Long> creationTimes) Creation time for each file, in milliseconds since epoch.setFileNames(List<String> fileNames) A listing of files in the paths specified.Additional information.Size of each file, in bytes.User that created the file.toString()
Method Details
getClassSchema
public static org.apache.avro.Schema getClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Returns:The schema for the class.setFileNames
A listing of files in the paths specified.Parameters:fileNames- The new value forfileNames.Returns:thisto mimic the builder pattern.setSizes
Size of each file, in bytes.Parameters:sizes- The new value forsizes.Returns:thisto mimic the builder pattern.setUsers
User that created the file.Parameters:users- The new value forusers.Returns:thisto mimic the builder pattern.setCreationTimes
Creation time for each file, in milliseconds since epoch.Parameters:creationTimes- The new value forcreationTimes.Returns:thisto mimic the builder pattern.getInfo
Additional information.MULTIPART_UPLOADS: JSON-encoded information about multipart uploads in progress.
Returns:The current value ofinfo.setInfo
Additional information.MULTIPART_UPLOADS: JSON-encoded information about multipart uploads in progress.
Parameters:info- The new value forinfo.Returns:thisto mimic the builder pattern.getSchema
public org.apache.avro.Schema getSchema()This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getSchemain interfaceorg.apache.avro.generic.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: