public static class BeamRowToBigtableMutation.ToBigtableRowFn extends SimpleFunction<Row,KV<ByteString,java.lang.Iterable<com.google.bigtable.v2.Mutation>>>
Constructor and Description |
---|
ToBigtableRowFn(java.util.Map<java.lang.String,java.lang.String> columnFamilyMapping) |
Modifier and Type | Method and Description |
---|---|
KV<ByteString,java.lang.Iterable<com.google.bigtable.v2.Mutation>> |
apply(Row row)
Returns the result of invoking this function on the given input.
|
fromSerializableFunctionWithOutputType
fromProcessFunctionWithOutputType, getInputTypeDescriptor, getOutputTypeDescriptor, populateDisplayData
public ToBigtableRowFn(java.util.Map<java.lang.String,java.lang.String> columnFamilyMapping)
public KV<ByteString,java.lang.Iterable<com.google.bigtable.v2.Mutation>> apply(Row row)
ProcessFunction
apply
in interface ProcessFunction<Row,KV<ByteString,java.lang.Iterable<com.google.bigtable.v2.Mutation>>>
apply
in interface SerializableFunction<Row,KV<ByteString,java.lang.Iterable<com.google.bigtable.v2.Mutation>>>
apply
in class SimpleFunction<Row,KV<ByteString,java.lang.Iterable<com.google.bigtable.v2.Mutation>>>