@Experimental(value=SOURCE_SINK) public abstract static class BigtableIO.Write extends PTransform<PCollection<KV<com.google.protobuf.ByteString,Iterable<com.google.bigtable.v2.Mutation>>>,PDone>
PTransform that writes to Google Cloud Bigtable. See the class-level Javadoc on
BigtableIO for more information.BigtableIO,
Serialized Formname| Constructor and Description |
|---|
Write() |
| Modifier and Type | Method and Description |
|---|---|
PDone |
expand(PCollection<KV<com.google.protobuf.ByteString,Iterable<com.google.bigtable.v2.Mutation>>> input) |
abstract com.google.cloud.bigtable.config.BigtableOptions |
getBigtableOptions()
Returns the Google Cloud Bigtable instance being written to, and other parameters.
|
void |
populateDisplayData(DisplayData.Builder builder) |
String |
toString() |
void |
validate(PipelineOptions options) |
BigtableIO.Write |
withBigtableOptions(com.google.cloud.bigtable.config.BigtableOptions.Builder optionsBuilder)
Returns a new
BigtableIO.Write that will write to the Cloud Bigtable instance
indicated by the given options, and using any other specified customizations. |
BigtableIO.Write |
withBigtableOptions(com.google.cloud.bigtable.config.BigtableOptions options)
Returns a new
BigtableIO.Write that will write to the Cloud Bigtable instance
indicated by the given options, and using any other specified customizations. |
BigtableIO.Write |
withoutValidation()
Disables validation that the table being written to exists.
|
BigtableIO.Write |
withTableId(String tableId)
Returns a new
BigtableIO.Write that will write to the specified table. |
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName@Nullable public abstract com.google.cloud.bigtable.config.BigtableOptions getBigtableOptions()
public BigtableIO.Write withBigtableOptions(com.google.cloud.bigtable.config.BigtableOptions options)
BigtableIO.Write that will write to the Cloud Bigtable instance
indicated by the given options, and using any other specified customizations.
Does not modify this object.
public BigtableIO.Write withBigtableOptions(com.google.cloud.bigtable.config.BigtableOptions.Builder optionsBuilder)
BigtableIO.Write that will write to the Cloud Bigtable instance
indicated by the given options, and using any other specified customizations.
Clones the given BigtableOptions builder so that any further changes
will have no effect on the returned BigtableIO.Write.
Does not modify this object.
public BigtableIO.Write withoutValidation()
public BigtableIO.Write withTableId(String tableId)
BigtableIO.Write that will write to the specified table.
Does not modify this object.
public PDone expand(PCollection<KV<com.google.protobuf.ByteString,Iterable<com.google.bigtable.v2.Mutation>>> input)
expand in class PTransform<PCollection<KV<com.google.protobuf.ByteString,Iterable<com.google.bigtable.v2.Mutation>>>,PDone>public void validate(PipelineOptions options)
validate in class PTransform<PCollection<KV<com.google.protobuf.ByteString,Iterable<com.google.bigtable.v2.Mutation>>>,PDone>public void populateDisplayData(DisplayData.Builder builder)
populateDisplayData in interface HasDisplayDatapopulateDisplayData in class PTransform<PCollection<KV<com.google.protobuf.ByteString,Iterable<com.google.bigtable.v2.Mutation>>>,PDone>public String toString()
toString in class PTransform<PCollection<KV<com.google.protobuf.ByteString,Iterable<com.google.bigtable.v2.Mutation>>>,PDone>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.