Package org.apache.gravitino
Class MetadataObjects.MetadataObjectImpl
java.lang.Object
org.apache.gravitino.MetadataObjects.MetadataObjectImpl
- All Implemented Interfaces:
MetadataObject
- Enclosing class:
- MetadataObjects
The implementation of the
MetadataObject
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.MetadataObject
MetadataObject.Type
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataObjectImpl
(String parent, String name, MetadataObject.Type type) Create the metadata object with the given name, parent and type. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.gravitino.MetadataObject
fullName
-
Constructor Details
-
MetadataObjectImpl
Create the metadata object with the given name, parent and type.- Parameters:
parent
- The parent of the metadata objectname
- The name of the metadata objecttype
- The type of the metadata object
-
-
Method Details
-
name
Description copied from interface:MetadataObject
The name of the object.- Specified by:
name
in interfaceMetadataObject
- Returns:
- The name of the object.
-
parent
Description copied from interface:MetadataObject
The parent full name of the object. If the object doesn't have parent, this method will return null.- Specified by:
parent
in interfaceMetadataObject
- Returns:
- The parent full name of the object.
-
type
Description copied from interface:MetadataObject
The type of the object.- Specified by:
type
in interfaceMetadataObject
- Returns:
- The type of the object.
-
equals
-
hashCode
public int hashCode() -
toString
-