Package org.apache.iceberg.flink.data
Class RowDataUtil
java.lang.Object
org.apache.iceberg.flink.data.RowDataUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.flink.table.data.RowDataclone(org.apache.flink.table.data.RowData from, org.apache.flink.table.data.RowData reuse, org.apache.flink.table.types.logical.RowType rowType, org.apache.flink.api.common.typeutils.TypeSerializer[] fieldSerializers, org.apache.flink.table.data.RowData.FieldGetter[] fieldGetters) Similar to the privateRowDataSerializer.copyRowData(RowData, RowData)method.static ObjectconvertConstant(Type type, Object value)
-
Method Details
-
convertConstant
-
clone
public static org.apache.flink.table.data.RowData clone(org.apache.flink.table.data.RowData from, org.apache.flink.table.data.RowData reuse, org.apache.flink.table.types.logical.RowType rowType, org.apache.flink.api.common.typeutils.TypeSerializer[] fieldSerializers, org.apache.flink.table.data.RowData.FieldGetter[] fieldGetters) Similar to the privateRowDataSerializer.copyRowData(RowData, RowData)method. This skips the check the arity of rowType and from, because the from RowData may contains additional column for position deletes. UsingRowDataSerializer.copy(RowData, RowData)will fail the arity check.
-