Class StorageApiDynamicDestinationsTableRow<T,​DestinationT extends @NonNull java.lang.Object>

  • All Implemented Interfaces:
    java.io.Serializable

    public class StorageApiDynamicDestinationsTableRow<T,​DestinationT extends @NonNull java.lang.Object>
    extends DynamicDestinations<T,​DestinationT>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DestinationT getDestination​(@Nullable org.apache.beam.sdk.values.ValueInSingleWindow<T> element)
      Returns an object that represents at a high level which table is being written to.
      @Nullable org.apache.beam.sdk.coders.Coder<DestinationT> getDestinationCoder()
      Returns the coder for DynamicDestinations.
      org.apache.beam.sdk.io.gcp.bigquery.StorageApiDynamicDestinations.MessageConverter<T> getMessageConverter​(DestinationT destination, BigQueryServices.DatasetService datasetService)  
      @Nullable com.google.api.services.bigquery.model.TableSchema getSchema​(DestinationT destination)
      Returns the table schema for the destination.
      java.util.List<org.apache.beam.sdk.values.PCollectionView<?>> getSideInputs()
      Specifies that this object needs access to one or more side inputs.
      TableDestination getTable​(DestinationT destination)
      Returns a TableDestination object for the destination.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMessageConverter

        public org.apache.beam.sdk.io.gcp.bigquery.StorageApiDynamicDestinations.MessageConverter<T> getMessageConverter​(DestinationT destination,
                                                                                                                         BigQueryServices.DatasetService datasetService)
                                                                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getDestination

        public DestinationT getDestination​(@Nullable org.apache.beam.sdk.values.ValueInSingleWindow<T> element)
        Description copied from class: DynamicDestinations
        Returns an object that represents at a high level which table is being written to. May not return null.
        Specified by:
        getDestination in class DynamicDestinations<T,​DestinationT>
      • getSchema

        public @Nullable com.google.api.services.bigquery.model.TableSchema getSchema​(DestinationT destination)
        Description copied from class: DynamicDestinations
        Returns the table schema for the destination.
        Specified by:
        getSchema in class DynamicDestinations<T,​DestinationT>
      • getSideInputs

        public java.util.List<org.apache.beam.sdk.values.PCollectionView<?>> getSideInputs()
        Description copied from class: DynamicDestinations
        Specifies that this object needs access to one or more side inputs. This side inputs must be globally windowed, as they will be accessed from the global window.
        Overrides:
        getSideInputs in class DynamicDestinations<T,​DestinationT>