Package org.apache.gravitino.dto
Class MetalakeDTO
java.lang.Object
org.apache.gravitino.dto.MetalakeDTO
- Direct Known Subclasses:
GravitinoMetalake
Represents a Metalake Data Transfer Object (DTO) that implements the Metalake interface.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
MetalakeDTO.Builder<S extends MetalakeDTO.Builder>
A builder class for constructing instances of MetalakeDTO. -
Field Summary
Fields inherited from interface org.apache.gravitino.Metalake
PROPERTY_IN_USE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Default constructor for Jackson deserialization.protected
Creates a new instance of MetalakeDTO. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.gravitino.Metalake
supportsRoles
-
Constructor Details
-
MetalakeDTO
protected MetalakeDTO()Default constructor for Jackson deserialization. -
MetalakeDTO
Creates a new instance of MetalakeDTO.- Parameters:
name
- The name of the Metalake DTO.comment
- The comment of the Metalake DTO.properties
- The properties of the Metalake DTO.audit
- The audit information of the Metalake DTO.
-
-
Method Details
-
name
Description copied from interface:Metalake
The name of the metalake. -
comment
Description copied from interface:Metalake
The comment of the metalake. Note. this method will return null if the comment is not set for this metalake. -
properties
Description copied from interface:Metalake
The properties of the metalake. Note, this method will return null if the properties are not set.- Specified by:
properties
in interfaceMetalake
- Returns:
- The properties of the Metalake DTO.
-
auditInfo
-
equals
-
hashCode
public int hashCode() -
builder
- Returns:
- the builder for creating a new instance of MetalakeDTO.
-