Interface ExperimentalOptions

  • All Superinterfaces:
    HasDisplayData, PipelineOptions

    @Experimental
    public interface ExperimentalOptions
    extends PipelineOptions
    Apache Beam provides a number of experimental features that can be enabled with this flag. If executing against a managed service, please contact the service owners before enabling any experiments.
    • Field Detail

      • STATE_SAMPLING_PERIOD_MILLIS

        static final java.lang.String STATE_SAMPLING_PERIOD_MILLIS
        See Also:
        Constant Field Values
    • Method Detail

      • getExperiments

        @Nullable java.util.List<java.lang.String> getExperiments()
      • setExperiments

        void setExperiments​(@Nullable java.util.List<java.lang.String> value)
      • hasExperiment

        static boolean hasExperiment​(PipelineOptions options,
                                     java.lang.String experiment)
        Returns true iff the provided pipeline options has the specified experiment enabled.
      • addExperiment

        static void addExperiment​(ExperimentalOptions options,
                                  java.lang.String experiment)
        Adds experiment to options if not already present.
      • getExperimentValue

        static java.lang.String getExperimentValue​(PipelineOptions options,
                                                   java.lang.String experiment)
        Return the value for the specified experiment or null if not present.