DatastoreIO.Sink (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

com.google.cloud.dataflow.sdk.io

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
        Overrides:
        populateDisplayData in class Sink<DatastoreV1.Entity>
        Parameters:
        builder - The builder to populate with display data.
        See Also:
        HasDisplayData


이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.