public class ShowDirectoriesResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showDirectories(ShowDirectoriesRequest).| Constructor and Description |
|---|
ShowDirectoriesResponse()
Constructs a ShowDirectoriesResponse object with default parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<Long> |
getCreationTimes() |
List<Long> |
getDataLimits() |
List<Long> |
getDataUsages() |
List<String> |
getDirectories() |
Map<String,String> |
getInfo() |
List<String> |
getPermissions() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<String> |
getUsers() |
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
ShowDirectoriesResponse |
setCreationTimes(List<Long> creationTimes) |
ShowDirectoriesResponse |
setDataLimits(List<Long> dataLimits) |
ShowDirectoriesResponse |
setDataUsages(List<Long> dataUsages) |
ShowDirectoriesResponse |
setDirectories(List<String> directories) |
ShowDirectoriesResponse |
setInfo(Map<String,String> info) |
ShowDirectoriesResponse |
setPermissions(List<String> permissions) |
ShowDirectoriesResponse |
setUsers(List<String> users) |
String |
toString() |
public ShowDirectoriesResponse()
public static org.apache.avro.Schema getClassSchema()
public ShowDirectoriesResponse setDirectories(List<String> directories)
directories - KiFS directory namesthis to mimic the builder pattern.public List<String> getUsers()
directoriespublic ShowDirectoriesResponse setUsers(List<String> users)
users - User that created each directory for the respective
directories in directoriesthis to mimic the builder pattern.public List<Long> getCreationTimes()
directoriespublic ShowDirectoriesResponse setCreationTimes(List<Long> creationTimes)
creationTimes - The creation time for each directory in
milliseconds since epoch, for the respective
directories in directoriesthis to mimic the builder pattern.public List<Long> getDataUsages()
directoriespublic ShowDirectoriesResponse setDataUsages(List<Long> dataUsages)
dataUsages - The data usage each directory in bytes, for the
respective directories in directoriesthis to mimic the builder pattern.public List<Long> getDataLimits()
directoriespublic ShowDirectoriesResponse setDataLimits(List<Long> dataLimits)
dataLimits - The data limit for each directory in bytes, for the
respective directories in directoriesthis to mimic the builder pattern.public List<String> getPermissions()
directories.
Will be empty if no permissions. If a user has been granted both
read and write permissions, 'directory_write' will be listed.public ShowDirectoriesResponse setPermissions(List<String> permissions)
permissions - Highest level of permission the calling user has for
the respective directories in directories.
Will be empty if no permissions. If a user has been
granted both read and write permissions,
'directory_write' will be listed.this to mimic the builder pattern.public ShowDirectoriesResponse setInfo(Map<String,String> info)
info - Additional information.this to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2024. All rights reserved.