public class RowDataToMutationConverter extends Object implements HBaseMutationConverter<RowData>
Constructor and Description |
---|
RowDataToMutationConverter(HBaseTableSchema schema,
String nullStringLiteral) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.client.Mutation |
convertToMutation(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()
HBaseMutationConverter
open
in interface HBaseMutationConverter<RowData>
public org.apache.hadoop.hbase.client.Mutation convertToMutation(RowData record)
HBaseMutationConverter
Mutation
. A mutation can be a Put
or
Delete
.convertToMutation
in interface HBaseMutationConverter<RowData>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.