DatastoreIO.Sink (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

Class DatastoreIO.Sink

    • Constructor Detail

      • Sink

        protected Sink(String host,
                       String datasetId)
        Constructs a Sink with given host and dataset.
    • Method Detail

      • withDataset

        public DatastoreIO.Sink withDataset(String datasetId)
        Returns a Sink that is like this one, but will write to the specified dataset.
      • populateDisplayData

        public void populateDisplayData(DisplayData.Builder builder)
        Description copied from class: Sink
        Register display data for the given transform or component.

        populateDisplayData(DisplayData.Builder) is invoked by Pipeline runners to collect display data via DisplayData.from(HasDisplayData). Implementations may call super.populateDisplayData(builder) in order to register display data in the current namespace, but should otherwise use subcomponent.populateDisplayData(builder) to use the namespace of the subcomponent.

        By default, does not register any display data. Implementors may override this method to provide their own display data.

        Specified by:
        populateDisplayData in interface HasDisplayData
        populateDisplayData in class Sink<DatastoreV1.Entity>
        builder - The builder to populate with display data.
        See Also: