public class RowDataToMutationConverter extends Object implements HBaseMutationConverter<org.apache.flink.table.data.RowData>
| Constructor and Description |
|---|
RowDataToMutationConverter(HBaseTableSchema schema,
String nullStringLiteral) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.client.Mutation |
convertToMutation(org.apache.flink.table.data.RowData record)
Converts the input record into HBase
Mutation. |
void |
open()
Initialization method for the function.
|
public RowDataToMutationConverter(HBaseTableSchema schema, String nullStringLiteral)
public void open()
HBaseMutationConverteropen in interface HBaseMutationConverter<org.apache.flink.table.data.RowData>public org.apache.hadoop.hbase.client.Mutation convertToMutation(org.apache.flink.table.data.RowData record)
HBaseMutationConverterMutation. A mutation can be a Put or
Delete.convertToMutation in interface HBaseMutationConverter<org.apache.flink.table.data.RowData>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.