public interface CodeGenerator
GeneratedClass generator.| 限定符和类型 | 方法和说明 |
|---|---|
GeneratedClass<NormalizedKeyComputer> |
generateNormalizedKeyComputer(List<DataType> inputTypes,
int[] sortFields)
Generate a
NormalizedKeyComputer. |
GeneratedClass<Projection> |
generateProjection(RowType inputType,
int[] inputMapping) |
GeneratedClass<RecordComparator> |
generateRecordComparator(List<DataType> inputTypes,
int[] sortFields)
Generate a
RecordComparator. |
GeneratedClass<RecordEqualiser> |
generateRecordEqualiser(List<DataType> fieldTypes)
Generate a
RecordEqualiser. |
GeneratedClass<Projection> generateProjection(RowType inputType, int[] inputMapping)
GeneratedClass<NormalizedKeyComputer> generateNormalizedKeyComputer(List<DataType> inputTypes, int[] sortFields)
NormalizedKeyComputer.inputTypes - input types.sortFields - the sort key fields. Records are compared by the first field, then the
second field, then the third field and so on. All fields are compared in ascending order.GeneratedClass<RecordComparator> generateRecordComparator(List<DataType> inputTypes, int[] sortFields)
RecordComparator.inputTypes - input types.sortFields - the sort key fields. Records are compared by the first field, then the
second field, then the third field and so on. All fields are compared in ascending order.GeneratedClass<RecordEqualiser> generateRecordEqualiser(List<DataType> fieldTypes)
RecordEqualiser.fieldTypes - Both the input row field types and the sort key field types. Records are *
compared by the first field, then the second field, then the third field and so on. All *
fields are compared in ascending order.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.