TestPipeline
with the DirectRunner
.@Deprecated public static enum DoFnTester.CloningBehavior extends java.lang.Enum<DoFnTester.CloningBehavior>
Enum Constant and Description |
---|
CLONE_ONCE
Deprecated.
|
CLONE_PER_BUNDLE
Deprecated.
Clone the
DoFn and call DoFn.Setup every time a bundle starts; call DoFn.Teardown every time a bundle finishes. |
DO_NOT_CLONE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DoFnTester.CloningBehavior |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static DoFnTester.CloningBehavior[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DoFnTester.CloningBehavior CLONE_PER_BUNDLE
DoFn
and call DoFn.Setup
every time a bundle starts; call DoFn.Teardown
every time a bundle finishes.public static final DoFnTester.CloningBehavior CLONE_ONCE
public static final DoFnTester.CloningBehavior DO_NOT_CLONE
public static DoFnTester.CloningBehavior[] values()
for (DoFnTester.CloningBehavior c : DoFnTester.CloningBehavior.values()) System.out.println(c);
public static DoFnTester.CloningBehavior valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null