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, waitMethods 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:MetadataObjectThe name of the object.- Specified by:
namein interfaceMetadataObject- Returns:
- The name of the object.
-
parent
Description copied from interface:MetadataObjectThe parent full name of the object. If the object doesn't have parent, this method will return null.- Specified by:
parentin interfaceMetadataObject- Returns:
- The parent full name of the object.
-
type
Description copied from interface:MetadataObjectThe type of the object.- Specified by:
typein interfaceMetadataObject- Returns:
- The type of the object.
-
equals
-
hashCode
public int hashCode() -
toString
-