Class HBaseIO.Write

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.transforms.display.HasDisplayData
    Enclosing class:
    HBaseIO

    public static class HBaseIO.Write
    extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.hadoop.hbase.client.Mutation>,​org.apache.beam.sdk.values.PDone>
    A PTransform that writes to HBase. See the class-level Javadoc on HBaseIO for* more information.
    See Also:
    HBaseIO, Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.beam.sdk.transforms.PTransform

        annotations, displayData, name, resourceHints
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(@Nullable java.lang.Object o)  
      org.apache.beam.sdk.values.PDone expand​(org.apache.beam.sdk.values.PCollection<org.apache.hadoop.hbase.client.Mutation> input)  
      org.apache.hadoop.conf.Configuration getConfiguration()  
      java.lang.String getTableId()  
      int hashCode()  
      void populateDisplayData​(org.apache.beam.sdk.transforms.display.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​(java.lang.String tableId)
      Writes to the specified table.
      • Methods inherited from class org.apache.beam.sdk.transforms.PTransform

        addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, setDisplayData, setResourceHints, toString, validate, validate
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • withConfiguration

        public HBaseIO.Write withConfiguration​(org.apache.hadoop.conf.Configuration configuration)
        Writes to the HBase instance indicated by the* given Configuration.
      • withTableId

        public HBaseIO.Write withTableId​(java.lang.String tableId)
        Writes to the specified table.
      • expand

        public org.apache.beam.sdk.values.PDone expand​(org.apache.beam.sdk.values.PCollection<org.apache.hadoop.hbase.client.Mutation> input)
        Specified by:
        expand in class org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.hadoop.hbase.client.Mutation>,​org.apache.beam.sdk.values.PDone>
      • populateDisplayData

        public void populateDisplayData​(org.apache.beam.sdk.transforms.display.DisplayData.Builder builder)
        Specified by:
        populateDisplayData in interface org.apache.beam.sdk.transforms.display.HasDisplayData
        Overrides:
        populateDisplayData in class org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.hadoop.hbase.client.Mutation>,​org.apache.beam.sdk.values.PDone>
      • getConfiguration

        public org.apache.hadoop.conf.Configuration getConfiguration()
      • getTableId

        public java.lang.String getTableId()
      • equals

        public boolean equals​(@Nullable java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object