public static class HBaseIO.Write extends PTransform<PCollection<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<org.apache.hadoop.hbase.client.Mutation> input) |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
String |
getTableId() |
void |
populateDisplayData(DisplayData.Builder builder) |
HBaseIO.Write |
withConfiguration(org.apache.hadoop.conf.Configuration configuration)
Writes to the HBase instance indicated by the* given Configuration.
|
HBaseIO.Write |
withTableId(String tableId)
Writes to the specified table.
|
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, toString, validatepublic HBaseIO.Write withConfiguration(org.apache.hadoop.conf.Configuration configuration)
public HBaseIO.Write withTableId(String tableId)
public PDone expand(PCollection<org.apache.hadoop.hbase.client.Mutation> input)
expand in class PTransform<PCollection<org.apache.hadoop.hbase.client.Mutation>,PDone>public void populateDisplayData(DisplayData.Builder builder)
populateDisplayData in interface HasDisplayDatapopulateDisplayData in class PTransform<PCollection<org.apache.hadoop.hbase.client.Mutation>,PDone>public String getTableId()
public org.apache.hadoop.conf.Configuration getConfiguration()
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.