public static class HBaseIO.Write extends PTransform<PCollection<KV<byte[],Iterable<org.apache.hadoop.hbase.client.Mutation>>>,PDone>
PTransform that writes to HBase. See the class-level Javadoc on
HBaseIO for more information.HBaseIO,
Serialized Formname| Modifier and Type | Method and Description |
|---|---|
PDone |
expand(PCollection<KV<byte[],Iterable<org.apache.hadoop.hbase.client.Mutation>>> input) |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
String |
getTableId() |
void |
populateDisplayData(DisplayData.Builder builder) |
void |
validate(PipelineOptions options) |
HBaseIO.Write |
withConfiguration(org.apache.hadoop.conf.Configuration configuration)
Returns a new
HBaseIO.Write that will write to the HBase instance
indicated by the given Configuration, and using any other specified customizations. |
HBaseIO.Write |
withTableId(String tableId)
Returns a new
HBaseIO.Write that will write to the specified table. |
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, toStringpublic HBaseIO.Write withConfiguration(org.apache.hadoop.conf.Configuration configuration)
HBaseIO.Write that will write to the HBase instance
indicated by the given Configuration, and using any other specified customizations.
Does not modify this object.
public HBaseIO.Write withTableId(String tableId)
HBaseIO.Write that will write to the specified table.
Does not modify this object.
public PDone expand(PCollection<KV<byte[],Iterable<org.apache.hadoop.hbase.client.Mutation>>> input)
expand in class PTransform<PCollection<KV<byte[],Iterable<org.apache.hadoop.hbase.client.Mutation>>>,PDone>public void validate(PipelineOptions options)
validate in class PTransform<PCollection<KV<byte[],Iterable<org.apache.hadoop.hbase.client.Mutation>>>,PDone>public void populateDisplayData(DisplayData.Builder builder)
populateDisplayData in interface HasDisplayDatapopulateDisplayData in class PTransform<PCollection<KV<byte[],Iterable<org.apache.hadoop.hbase.client.Mutation>>>,PDone>public String getTableId()
public org.apache.hadoop.conf.Configuration getConfiguration()
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.