public final class RowDataUtil extends Object
RowData.| 构造器和说明 |
|---|
RowDataUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isAccumulateMsg(org.apache.flink.table.data.RowData row)
Returns true if the message is either
RowKind.INSERT or RowKind.UPDATE_AFTER,
which refers to an accumulate operation of aggregation. |
static boolean |
isRetractMsg(org.apache.flink.table.data.RowData row)
Returns true if the message is either
RowKind.DELETE or RowKind.UPDATE_BEFORE,
which refers to a retract operation of aggregation. |
static org.apache.flink.table.data.GenericRowData |
toGenericRow(org.apache.flink.table.data.RowData row,
org.apache.flink.table.types.logical.LogicalType[] types) |
public static boolean isAccumulateMsg(org.apache.flink.table.data.RowData row)
RowKind.INSERT or RowKind.UPDATE_AFTER,
which refers to an accumulate operation of aggregation.public static boolean isRetractMsg(org.apache.flink.table.data.RowData row)
RowKind.DELETE or RowKind.UPDATE_BEFORE,
which refers to a retract operation of aggregation.public static org.apache.flink.table.data.GenericRowData toGenericRow(org.apache.flink.table.data.RowData row,
org.apache.flink.table.types.logical.LogicalType[] types)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.