public class RowTypeUtils extends Object
RelNodes.| Constructor and Description |
|---|
RowTypeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getUniqueName(List<String> oldNames,
List<String> checklist) |
static String |
getUniqueName(String oldName,
List<String> checklist) |
static org.apache.flink.table.types.logical.RowType |
projectRowType(org.apache.flink.table.types.logical.RowType rowType,
int[] projection)
Returns projected
RowType by given projection indexes over original RowType. |
public static List<String> getUniqueName(List<String> oldNames, List<String> checklist)
public static org.apache.flink.table.types.logical.RowType projectRowType(@Nonnull org.apache.flink.table.types.logical.RowType rowType, @Nonnull int[] projection) throws IllegalArgumentException
RowType by given projection indexes over original RowType.
Will raise an error when projection index beyond the field count of original rowType.rowType - source row typeprojection - indexes arrayRowTypeIllegalArgumentExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.