Package org.apache.gravitino.rel
Class ViewChange.ReplaceView
java.lang.Object
org.apache.gravitino.rel.ViewChange.ReplaceView
- All Implemented Interfaces:
ViewChange
- Enclosing interface:
- ViewChange
A ViewChange that atomically replaces the view body (columns, representations, default catalog,
default schema and comment).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.rel.ViewChange
ViewChange.RemoveProperty, ViewChange.RenameView, ViewChange.ReplaceView, ViewChange.SetProperty -
Method Summary
Modifier and TypeMethodDescriptionbooleanColumn[]Retrieves the new output columns of the view.Retrieves the new view comment, ornullif it should be unset.Retrieves the new default catalog, ornullif it should be unset.Retrieves the new default schema, ornullif it should be unset.Retrieves the new representations of the view.inthashCode()toString()
-
Method Details
-
getColumns
Retrieves the new output columns of the view.- Returns:
- The new columns.
-
getRepresentations
Retrieves the new representations of the view.- Returns:
- The new representations.
-
getDefaultCatalog
Retrieves the new default catalog, ornullif it should be unset.- Returns:
- The new default catalog, or
null.
-
getDefaultSchema
Retrieves the new default schema, ornullif it should be unset.- Returns:
- The new default schema, or
null.
-
getComment
Retrieves the new view comment, ornullif it should be unset.- Returns:
- The new comment, or
null.
-
equals
-
hashCode
public int hashCode() -
toString
-