Package org.apache.gravitino.rel
Interface TableChange.ColumnPosition
- All Known Implementing Classes:
TableChange.After
,TableChange.Default
,TableChange.First
- Enclosing interface:
- TableChange
public static interface TableChange.ColumnPosition
The interface for all column positions. Column positions are used to specify the position of a
column when adding a new column to a table.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic TableChange.ColumnPosition
Returns the position after the given column.static TableChange.ColumnPosition
static TableChange.ColumnPosition
first()
-
Method Details
-
first
- Returns:
- The first position of ColumnPosition instance.
-
after
Returns the position after the given column.- Parameters:
column
- The name of the reference column to place the new column after.- Returns:
- The position after the given column.
-
defaultPos
- Returns:
- The default position of ColumnPosition instance.
-