Package org.apache.beam.sdk.transforms
Enum Class DoFnTester.CloningBehavior
java.lang.Object
java.lang.Enum<DoFnTester.CloningBehavior>
org.apache.beam.sdk.transforms.DoFnTester.CloningBehavior
- All Implemented Interfaces:
Serializable
,Comparable<DoFnTester.CloningBehavior>
,Constable
- Enclosing class:
DoFnTester<InputT,
OutputT>
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.Clone theDoFn
and callDoFn.Setup
every time a bundle starts; callDoFn.Teardown
every time a bundle finishes.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic DoFnTester.CloningBehavior
Deprecated.Returns the enum constant of this class with the specified name.static DoFnTester.CloningBehavior[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLONE_PER_BUNDLE
Deprecated.Clone theDoFn
and callDoFn.Setup
every time a bundle starts; callDoFn.Teardown
every time a bundle finishes. -
CLONE_ONCE
Deprecated. -
DO_NOT_CLONE
Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
TestPipeline
with theDirectRunner
.