IcebergSortOrderProperty Struct
The sort order for an Iceberg table.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const icebergSortOrderProperty: glue.CfnTable.IcebergSortOrderProperty = {
fields: [{
direction: 'direction',
nullOrder: 'nullOrder',
sourceId: 123,
transform: 'transform',
}],
orderId: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue
iceberg_sort_order_property = glue.CfnTable.IcebergSortOrderProperty(
fields=[glue.CfnTable.IcebergSortFieldProperty(
direction="direction",
null_order="nullOrder",
source_id=123,
transform="transform"
)],
order_id=123
)
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.glue.*;
IcebergSortOrderProperty icebergSortOrderProperty = IcebergSortOrderProperty.builder()
.fields(List.of(IcebergSortFieldProperty.builder()
.direction("direction")
.nullOrder("nullOrder")
.sourceId(123)
.transform("transform")
.build()))
.orderId(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var icebergSortOrderProperty = new IcebergSortOrderProperty {
Fields = new [] { new IcebergSortFieldProperty {
Direction = "direction",
NullOrder = "nullOrder",
SourceId = 123,
Transform = "transform"
} },
OrderId = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
icebergSortOrderProperty := &IcebergSortOrderProperty{
Fields: []interface{}{
&IcebergSortFieldProperty{
Direction: jsii.String("direction"),
NullOrder: jsii.String("nullOrder"),
SourceId: jsii.Number(123),
Transform: jsii.String("transform"),
},
},
OrderId: jsii.Number(123),
}
Properties
fieldsIResolvable | IResolvable | CfnTable.fieldstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, IcebergSortFieldProperty]]]fieldsIResolvableFieldsIResolvableFieldsinterface{} required #The sort fields.
The order ID.