Package com.gpudb.protocol
Class AlterDirectoryRequest
java.lang.Object
com.gpudb.protocol.AlterDirectoryRequest
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of parameters for
GPUdb.alterDirectory.
Alters an existing directory in KiFS.
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theAlterDirectoryRequestparameterdirectoryUpdatesMap.Constructor Summary
ConstructorsMethod 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.Name of the directory in KiFS to be altered.Map containing the properties of the directory to be altered.Optional parameters.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setDirectoryName(String directoryName) Name of the directory in KiFS to be altered.setDirectoryUpdatesMap(Map<String, String> directoryUpdatesMap) Map containing the properties of the directory to be altered.setOptions(Map<String, String> options) Optional parameters.toString()
Constructor Details
AlterDirectoryRequest
public AlterDirectoryRequest(String directoryName, Map<String, String> directoryUpdatesMap, Map<String, String> options) Constructs an AlterDirectoryRequest object with the specified parameters.Parameters:directoryName- Name of the directory in KiFS to be altered.directoryUpdatesMap- Map containing the properties of the directory to be altered. Error if empty.DATA_LIMIT: The maximum capacity, in bytes, to apply to the directory. Set to -1 to indicate no upper limit.
options- Optional parameters. The default value is an emptyMap.
Method Details
getDirectoryUpdatesMap
Map containing the properties of the directory to be altered. Error if empty.DATA_LIMIT: The maximum capacity, in bytes, to apply to the directory. Set to -1 to indicate no upper limit.
Returns:The current value ofdirectoryUpdatesMap.setDirectoryUpdatesMap
Map containing the properties of the directory to be altered. Error if empty.DATA_LIMIT: The maximum capacity, in bytes, to apply to the directory. Set to -1 to indicate no upper limit.
Parameters:directoryUpdatesMap- The new value fordirectoryUpdatesMap.Returns:thisto mimic the builder pattern.setOptions
Optional parameters. The default value is an emptyMap.Parameters:options- The new value foroptions.Returns:thisto mimic the builder pattern.