public abstract class TableSorter extends Object
ZorderSorter
and OrderSorter
.Modifier and Type | Class and Description |
---|---|
static class |
TableSorter.OrderType
order type for sorting.
|
Modifier and Type | Field and Description |
---|---|
protected List<String> |
orderColNames |
protected FileStoreTable |
table |
Constructor and Description |
---|
TableSorter(FileStoreTable table,
List<String> orderColNames) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkNotEmpty() |
static TableSorter |
getSorter(FileStoreTable table,
TableSorter.OrderType orderType,
List<String> orderColumns) |
abstract org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> |
sort(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> input) |
protected final FileStoreTable table
public TableSorter(FileStoreTable table, List<String> orderColNames)
protected void checkNotEmpty()
public abstract org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> sort(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> input)
public static TableSorter getSorter(FileStoreTable table, TableSorter.OrderType orderType, List<String> orderColumns)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.