public class RowDataProjection extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static RowDataProjection |
instance(org.apache.flink.table.types.logical.LogicalType[] types,
int[] positions) |
static RowDataProjection |
instance(org.apache.flink.table.types.logical.RowType rowType,
int[] positions) |
static RowDataProjection |
instanceV2(org.apache.flink.table.types.logical.RowType rowType,
int[] positions) |
org.apache.flink.table.data.RowData |
project(org.apache.flink.table.data.RowData rowData)
Returns the projected row data.
|
Object[] |
projectAsValues(org.apache.flink.table.data.RowData rowData)
Returns the projected values array.
|
public static RowDataProjection instance(org.apache.flink.table.types.logical.RowType rowType, int[] positions)
public static RowDataProjection instanceV2(org.apache.flink.table.types.logical.RowType rowType, int[] positions)
public static RowDataProjection instance(org.apache.flink.table.types.logical.LogicalType[] types, int[] positions)
public org.apache.flink.table.data.RowData project(org.apache.flink.table.data.RowData rowData)
public Object[] projectAsValues(org.apache.flink.table.data.RowData rowData)
Copyright © 2022 The Apache Software Foundation. All rights reserved.