View.AsSingleton (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

com.google.cloud.dataflow.sdk.transforms

Class View.AsSingleton<T>

    • Method Detail

      • hasDefaultValue

        public boolean hasDefaultValue()
        Returns whether this transform has a default value.
      • defaultValue

        public T defaultValue()
        Returns the default value of this transform, or null if there isn't one.
      • withDefaultValue

        public View.AsSingleton<T> withDefaultValue(T defaultValue)
        Default value to return for windows with no value in them.
      • validate

        public void validate(PCollection<T> input)
        Description copied from class: PTransform
        Called before invoking apply (which may be intercepted by the runner) to verify this transform is fully specified and applicable to the specified input.

        By default, does nothing.

        Overrides:
        validate in class PTransform<PCollection<T>,PCollectionView<T>>


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

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

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