Class ObjectParser
java.lang.Object
org.apache.hadoop.ozone.om.request.util.ObjectParser
Utility class to parse
OzoneObj.getPath().-
Constructor Summary
ConstructorsConstructorDescriptionObjectParser(String path, org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OzoneObj.ObjectType objectType) Parse the path and extract volume, bucket and key names. -
Method Summary
-
Constructor Details
-
ObjectParser
public ObjectParser(String path, org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OzoneObj.ObjectType objectType) throws org.apache.hadoop.ozone.om.exceptions.OMException Parse the path and extract volume, bucket and key names.- Parameters:
path-- Throws:
org.apache.hadoop.ozone.om.exceptions.OMException
-
-
Method Details
-
getVolume
-
getBucket
-
getKey
-