Package org.apache.gravitino.dto.rel
Class ViewDTO
java.lang.Object
org.apache.gravitino.dto.rel.ViewDTO
Represents a View DTO (Data Transfer Object).
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ViewDTO.Builderbuilder()Creates a newViewDTO.Builderto build aViewDTO.Column[]columns()Returns the output schema of the view.comment()Returns the comment of the view, ornullif no comment is set.Returns the default catalog used to resolve unqualified identifiers referenced by the view definition, ornullif not set.Returns the default schema used to resolve unqualified identifiers referenced by the view definition, ornullif not set.name()Returns the name of the view.Returns the properties of the view, or an empty map if no properties are set.Returns the representations of the view.
-
Method Details
-
name
Description copied from interface:ViewReturns the name of the view. -
comment
Description copied from interface:ViewReturns the comment of the view, ornullif no comment is set. -
columns
Description copied from interface:ViewReturns the output schema of the view. Implementations should return an empty array when the output schema is unknown; callers should not rely on anullreturn value. -
representations
Description copied from interface:ViewReturns the representations of the view. A view carries at least oneRepresentation, typically aSQLRepresentationfor one or more dialects.- Specified by:
representationsin interfaceView- Returns:
- The view representations.
-
defaultCatalog
Description copied from interface:ViewReturns the default catalog used to resolve unqualified identifiers referenced by the view definition, ornullif not set. The default catalog is shared across allrepresentations.- Specified by:
defaultCatalogin interfaceView- Returns:
- The default catalog, or
null.
-
defaultSchema
Description copied from interface:ViewReturns the default schema used to resolve unqualified identifiers referenced by the view definition, ornullif not set. The default schema is shared across allrepresentations.- Specified by:
defaultSchemain interfaceView- Returns:
- The default schema, or
null.
-
properties
Description copied from interface:ViewReturns the properties of the view, or an empty map if no properties are set.- Specified by:
propertiesin interfaceView- Returns:
- The view properties.
-
auditInfo
-
builder
Creates a newViewDTO.Builderto build aViewDTO.- Returns:
- A new builder instance.
-