public class CodeGenUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Projection |
EMPTY_PROJECTION |
Constructor and Description |
---|
CodeGenUtils() |
Modifier and Type | Method and Description |
---|---|
static NormalizedKeyComputer |
newNormalizedKeyComputer(List<DataType> inputTypes,
int[] sortFields) |
static Projection |
newProjection(RowType inputType,
int[] mapping) |
static Projection |
newProjection(RowType inputType,
List<String> fields) |
static RecordComparator |
newRecordComparator(List<DataType> inputTypes) |
static RecordComparator |
newRecordComparator(List<DataType> inputTypes,
int[] sortFields,
boolean isAscendingOrder) |
static RecordEqualiser |
newRecordEqualiser(List<DataType> fieldTypes) |
static RecordEqualiser |
newRecordEqualiser(List<DataType> fieldTypes,
int[] fields) |
public static final Projection EMPTY_PROJECTION
public static Projection newProjection(RowType inputType, List<String> fields)
public static Projection newProjection(RowType inputType, int[] mapping)
public static NormalizedKeyComputer newNormalizedKeyComputer(List<DataType> inputTypes, int[] sortFields)
public static RecordComparator newRecordComparator(List<DataType> inputTypes)
public static RecordComparator newRecordComparator(List<DataType> inputTypes, int[] sortFields, boolean isAscendingOrder)
public static RecordEqualiser newRecordEqualiser(List<DataType> fieldTypes)
public static RecordEqualiser newRecordEqualiser(List<DataType> fieldTypes, int[] fields)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.