gravitino.api.rel.table_change.After

final class gravitino.api.rel.table_change.After(_column: str)

Bases: ColumnPosition

Column position AFTER

It means the specified column should be put after the given column. Note that, the specified column may be a nested field, and then the given column refers to a field in the same struct.

__init__(_column: str) None

Methods

__init__(_column)

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.

get_column()

Retrieves the name of the reference column after which the specified column will be placed.

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.

get_column() str

Retrieves the name of the reference column after which the specified column will be placed.

Returns:

str: The name of the reference column.