public class DataPruner extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static Map<String,ColumnStats> |
convertColumnStats(org.apache.flink.table.data.RowData indexRow,
org.apache.flink.table.types.logical.RowType.RowField[] queryFields) |
String[] |
getReferencedCols() |
static DataPruner |
newInstance(List<org.apache.flink.table.expressions.ResolvedExpression> filters) |
boolean |
test(org.apache.flink.table.data.RowData indexRow,
org.apache.flink.table.types.logical.RowType.RowField[] queryFields)
Filters the index row with specific data filters and query fields.
|
public boolean test(org.apache.flink.table.data.RowData indexRow,
org.apache.flink.table.types.logical.RowType.RowField[] queryFields)
indexRow - The index rowqueryFields - The query fields referenced by the filterspublic String[] getReferencedCols()
@Nullable public static DataPruner newInstance(List<org.apache.flink.table.expressions.ResolvedExpression> filters)
public static Map<String,ColumnStats> convertColumnStats(org.apache.flink.table.data.RowData indexRow, org.apache.flink.table.types.logical.RowType.RowField[] queryFields)
Copyright © 2023 The Apache Software Foundation. All rights reserved.