Module sort

Module sort 

Source
Expand description

Sort order specification for Iceberg tables

This module defines the sort ordering capabilities of Iceberg tables, including:

  • Sort direction (ascending/descending)
  • Null ordering (nulls first/last)
  • Sort fields that specify which columns to sort by
  • Sort order specifications that combine multiple sort fields

Sort orders are used to:

  • Optimize data layout for efficient querying
  • Support range predicates and partition pruning
  • Enable merge-on-read operations

Structs§

SortField
Entry for every column that is to be sorted
SortOrder
A sort order is defined by a sort order id and a list of sort fields. The order of the sort fields within the list defines the order in which the sort is applied to the data.
SortOrderBuilder
Builder for SortOrder.

Enums§

NullOrder
Describes the order of null values when sorted.
SortDirection
Sort direction in a partition, either ascending or descending
SortOrderBuilderError
Error type for SortOrderBuilder

Statics§

DEFAULT_SORT_ORDER_ID