@Evolving public interface SupportsReportOrdering extends Scan
Scan
. Data sources can implement this interface to
report the order of data in each partition to Spark.
Global order is part of the partitioning, see SupportsReportPartitioning
.
Spark uses ordering information to exploit existing order to avoid sorting required by subsequent operations.
Modifier and Type | Method and Description |
---|---|
SortOrder[] |
outputOrdering()
Returns the order in each partition of this data source scan.
|
description, readSchema, reportDriverMetrics, supportedCustomMetrics, toBatch, toContinuousStream, toMicroBatchStream
SortOrder[] outputOrdering()