gravitino.api.rel.table_change.Default

final class gravitino.api.rel.table_change.Default

Bases: ColumnPosition

Column position DEFAULT.

It means the position of the column was ignored by the user, and should be determined by the catalog implementation.

__init__() None

Methods

__init__()

after(column)

Returns the position after the given column.

default_pos()

Returns the default position of ColumnPosition instance.

first()

The first position of ColumnPosition instance.

static after(column: str) After

Returns the position after the given column.

Args:
column:

The name of the reference column to place the new column after.

Returns:
After:

The position after the given column.

static default_pos() Default

Returns the default position of ColumnPosition instance.

Returns:
Default:

The default position of ColumnPosition instance.

static first() First

The first position of ColumnPosition instance.

Returns:
First:

The first position of ColumnPosition instance.