Package com.gpudb.protocol
Class ShowDirectoriesResponse
java.lang.Object
com.gpudb.protocol.ShowDirectoriesResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class ShowDirectoriesResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.showDirectories.Constructor Summary
ConstructorsConstructorDescriptionConstructs a ShowDirectoriesResponse 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.The creation time for each directory in milliseconds since epoch, for the respective directories indirectories.The data limit for each directory in bytes, for the respective directories indirectories.The data usage each directory in bytes, for the respective directories indirectories.KiFS directory names.getInfo()Additional information.Highest level of permission the calling user has for the respective directories indirectories.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.getUsers()User that created each directory for the respective directories indirectories.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setCreationTimes(List<Long> creationTimes) The creation time for each directory in milliseconds since epoch, for the respective directories indirectories.setDataLimits(List<Long> dataLimits) The data limit for each directory in bytes, for the respective directories indirectories.setDataUsages(List<Long> dataUsages) The data usage each directory in bytes, for the respective directories indirectories.setDirectories(List<String> directories) KiFS directory names.Additional information.setPermissions(List<String> permissions) Highest level of permission the calling user has for the respective directories indirectories.User that created each directory for the respective directories indirectories.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.setDirectories
KiFS directory names.Parameters:directories- The new value fordirectories.Returns:thisto mimic the builder pattern.getUsers
User that created each directory for the respective directories indirectories.Returns:The current value ofusers.setUsers
User that created each directory for the respective directories indirectories.Parameters:users- The new value forusers.Returns:thisto mimic the builder pattern.getCreationTimes
The creation time for each directory in milliseconds since epoch, for the respective directories indirectories.Returns:The current value ofcreationTimes.setCreationTimes
The creation time for each directory in milliseconds since epoch, for the respective directories indirectories.Parameters:creationTimes- The new value forcreationTimes.Returns:thisto mimic the builder pattern.getDataUsages
The data usage each directory in bytes, for the respective directories indirectories.Returns:The current value ofdataUsages.setDataUsages
The data usage each directory in bytes, for the respective directories indirectories.Parameters:dataUsages- The new value fordataUsages.Returns:thisto mimic the builder pattern.getDataLimits
The data limit for each directory in bytes, for the respective directories indirectories.Returns:The current value ofdataLimits.setDataLimits
The data limit for each directory in bytes, for the respective directories indirectories.Parameters:dataLimits- The new value fordataLimits.Returns:thisto mimic the builder pattern.getPermissions
Highest level of permission the calling user has for the respective directories indirectories. Will be empty if no permissions. If a user has been granted both read and write permissions, ‘directory_write’ will be listed.Returns:The current value ofpermissions.setPermissions
Highest level of permission the calling user has for the respective directories indirectories. Will be empty if no permissions. If a user has been granted both read and write permissions, ‘directory_write’ will be listed.Parameters:permissions- The new value forpermissions.Returns:thisto mimic the builder pattern.setInfo
Additional information.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: