public interface CodeGenerator
GeneratedClass
generator.Modifier and Type | Method and Description |
---|---|
GeneratedClass<NormalizedKeyComputer> |
generateNormalizedKeyComputer(List<org.apache.flink.table.types.logical.LogicalType> fieldTypes,
String name)
Generate a
NormalizedKeyComputer . |
GeneratedClass<Projection> |
generateProjection(String name,
org.apache.flink.table.types.logical.RowType inputType,
int[] inputMapping) |
GeneratedClass<RecordComparator> |
generateRecordComparator(List<org.apache.flink.table.types.logical.LogicalType> fieldTypes,
String name)
Generate a
RecordComparator . |
GeneratedClass<Projection> generateProjection(String name, org.apache.flink.table.types.logical.RowType inputType, int[] inputMapping)
GeneratedClass<NormalizedKeyComputer> generateNormalizedKeyComputer(List<org.apache.flink.table.types.logical.LogicalType> fieldTypes, String name)
NormalizedKeyComputer
.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.GeneratedClass<RecordComparator> generateRecordComparator(List<org.apache.flink.table.types.logical.LogicalType> fieldTypes, String name)
RecordComparator
.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 © 2019–2023 The Apache Software Foundation. All rights reserved.