Experimental
@aws-cdk/aws-s3tables-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
IcebergSortField Struct
Sort field definition for Iceberg table.
| Stability | Experimental |
|---|---|
| Source | lib/table.ts |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3tables_alpha from '@aws-cdk/aws-s3tables-alpha';
declare const icebergTransform: s3tables_alpha.IcebergTransform;
const icebergSortField: s3tables_alpha.IcebergSortField = {
direction: s3tables_alpha.SortDirection.ASC,
nullOrder: s3tables_alpha.NullOrder.NULLS_FIRST,
sourceId: 123,
transform: icebergTransform,
};
python
# 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
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3tables.alpha.*;
IcebergTransform icebergTransform;
IcebergSortField icebergSortField = IcebergSortField.builder()
.direction(SortDirection.ASC)
.nullOrder(NullOrder.NULLS_FIRST)
.sourceId(123)
.transform(icebergTransform)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.S3Tables.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3Tables.Alpha;
IcebergTransform icebergTransform;
var icebergSortField = new IcebergSortField {
Direction = SortDirection.ASC,
NullOrder = NullOrder.NULLS_FIRST,
SourceId = 123,
Transform = icebergTransform
};
go
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws-samples/dummy/awscdkawss3tablesalpha"
var icebergTransform IcebergTransform
icebergSortField := &IcebergSortField{
Direction: s3tables_alpha.SortDirection_ASC,
NullOrder: s3tables_alpha.NullOrder_NULLS_FIRST,
SourceId: jsii.Number(123),
Transform: icebergTransform,
}
Properties
directionSortDirectiondirectionSortDirectiondirectionSortDirectionDirectionSortDirectionDirectionSortDirection required #The sort direction.
nullOrderNullOrdernull_orderNullOrdernullOrderNullOrderNullOrderNullOrderNullOrderNullOrder required #The null ordering.
The source field ID from the schema.
transformIcebergTransformtransformIcebergTransformtransformIcebergTransformTransformIcebergTransformTransformIcebergTransform required #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)).