IcebergSortField

class aws_cdk.aws_s3tables_alpha.IcebergSortField(*, direction, null_order, source_id, transform)

Bases: object

(experimental) Sort field definition for Iceberg table.

Parameters:
  • direction (SortDirection) – (experimental) The sort direction.

  • null_order (NullOrder) – (experimental) The null ordering.

  • source_id (Union[int, float]) – (experimental) The source field ID from the schema.

  • transform (IcebergTransform) – (experimental) The sort transform function. Use IcebergTransform static properties for common transforms (e.g., IcebergTransform.IDENTITY) or methods for parameterized transforms (e.g., IcebergTransform.bucket(16)).

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_s3tables_alpha as s3tables_alpha

# iceberg_transform: s3tables_alpha.IcebergTransform

iceberg_sort_field = s3tables_alpha.IcebergSortField(
    direction=s3tables_alpha.SortDirection.ASC,
    null_order=s3tables_alpha.NullOrder.NULLS_FIRST,
    source_id=123,
    transform=iceberg_transform
)

Attributes

direction

(experimental) The sort direction.

Stability:

experimental

null_order

(experimental) The null ordering.

Stability:

experimental

source_id

(experimental) The source field ID from the schema.

Stability:

experimental

transform

(experimental) The sort transform function.

Use IcebergTransform static properties for common transforms (e.g., IcebergTransform.IDENTITY) or methods for parameterized transforms (e.g., IcebergTransform.bucket(16)).

Stability:

experimental