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.IndexedRecord
public class ShowDirectoriesResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned byGPUdb.showDirectories.
-
-
Constructor Summary
Constructors Constructor Description ShowDirectoriesResponse()Constructs a ShowDirectoriesResponse object with default parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Objectget(int index)This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemagetClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.List<Long>getCreationTimes()The creation time for each directory in milliseconds since epoch, for the respective directories indirectoriesList<Long>getDataLimits()The data limit for each directory in bytes, for the respective directories indirectoriesList<Long>getDataUsages()The data usage each directory in bytes, for the respective directories indirectoriesList<String>getDirectories()KiFS directory namesMap<String,String>getInfo()Additional information.List<String>getPermissions()Highest level of permission the calling user has for the respective directories indirectories.org.apache.avro.SchemagetSchema()This method supports the Avro framework and is not intended to be called directly by the user.List<String>getUsers()User that created each directory for the respective directories indirectoriesinthashCode()voidput(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.ShowDirectoriesResponsesetCreationTimes(List<Long> creationTimes)The creation time for each directory in milliseconds since epoch, for the respective directories indirectoriesShowDirectoriesResponsesetDataLimits(List<Long> dataLimits)The data limit for each directory in bytes, for the respective directories indirectoriesShowDirectoriesResponsesetDataUsages(List<Long> dataUsages)The data usage each directory in bytes, for the respective directories indirectoriesShowDirectoriesResponsesetDirectories(List<String> directories)KiFS directory namesShowDirectoriesResponsesetInfo(Map<String,String> info)Additional information.ShowDirectoriesResponsesetPermissions(List<String> permissions)Highest level of permission the calling user has for the respective directories indirectories.ShowDirectoriesResponsesetUsers(List<String> users)User that created each directory for the respective directories indirectoriesStringtoString()
-
-
-
Method Detail
-
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.
-
getDirectories
public List<String> getDirectories()
KiFS directory names- Returns:
- The current value of
directories.
-
setDirectories
public ShowDirectoriesResponse setDirectories(List<String> directories)
KiFS directory names- Parameters:
directories- The new value fordirectories.- Returns:
thisto mimic the builder pattern.
-
getUsers
public List<String> getUsers()
User that created each directory for the respective directories indirectories- Returns:
- The current value of
users.
-
setUsers
public ShowDirectoriesResponse setUsers(List<String> users)
User that created each directory for the respective directories indirectories- Parameters:
users- The new value forusers.- Returns:
thisto mimic the builder pattern.
-
getCreationTimes
public List<Long> getCreationTimes()
The creation time for each directory in milliseconds since epoch, for the respective directories indirectories- Returns:
- The current value of
creationTimes.
-
setCreationTimes
public ShowDirectoriesResponse setCreationTimes(List<Long> creationTimes)
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
public List<Long> getDataUsages()
The data usage each directory in bytes, for the respective directories indirectories- Returns:
- The current value of
dataUsages.
-
setDataUsages
public ShowDirectoriesResponse setDataUsages(List<Long> dataUsages)
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
public List<Long> getDataLimits()
The data limit for each directory in bytes, for the respective directories indirectories- Returns:
- The current value of
dataLimits.
-
setDataLimits
public ShowDirectoriesResponse setDataLimits(List<Long> dataLimits)
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
public List<String> 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 of
permissions.
-
setPermissions
public ShowDirectoriesResponse setPermissions(List<String> permissions)
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.
-
getInfo
public Map<String,String> getInfo()
Additional information.- Returns:
- The current value of
info.
-
setInfo
public ShowDirectoriesResponse setInfo(Map<String,String> info)
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.GenericContainer- Returns:
- The schema object describing this class.
-
get
public Object get(int index)
This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
getin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to get- Returns:
- value of the field with the given index.
- Throws:
IndexOutOfBoundsException
-
put
public void put(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
putin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to setvalue- the value to set- Throws:
IndexOutOfBoundsException
-
-