public static enum RunnerApi.ClosingBehavior extends Enum<RunnerApi.ClosingBehavior> implements com.google.protobuf.ProtocolMessageEnum
Controls whether or not an aggregating transform should output data when a window expires.Protobuf enum
org.apache.beam.runner_api.v1.ClosingBehavior| Enum Constant and Description |
|---|
EMIT_ALWAYS
Emit output when a window expires, whether or not there has been
any new data since the last output.
|
EMIT_IF_NONEMPTY
Only emit output when new data has arrives since the last output
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EMIT_ALWAYS_VALUE
Emit output when a window expires, whether or not there has been
any new data since the last output.
|
static int |
EMIT_IF_NONEMPTY_VALUE
Only emit output when new data has arrives since the last output
|
| Modifier and Type | Method and Description |
|---|---|
static RunnerApi.ClosingBehavior |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RunnerApi.ClosingBehavior> |
internalGetValueMap() |
static RunnerApi.ClosingBehavior |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RunnerApi.ClosingBehavior |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RunnerApi.ClosingBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunnerApi.ClosingBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunnerApi.ClosingBehavior EMIT_ALWAYS
Emit output when a window expires, whether or not there has been any new data since the last output.
EMIT_ALWAYS = 0;public static final RunnerApi.ClosingBehavior EMIT_IF_NONEMPTY
Only emit output when new data has arrives since the last output
EMIT_IF_NONEMPTY = 1;public static final RunnerApi.ClosingBehavior UNRECOGNIZED
public static final int EMIT_ALWAYS_VALUE
Emit output when a window expires, whether or not there has been any new data since the last output.
EMIT_ALWAYS = 0;public static final int EMIT_IF_NONEMPTY_VALUE
Only emit output when new data has arrives since the last output
EMIT_IF_NONEMPTY = 1;public static RunnerApi.ClosingBehavior[] values()
for (RunnerApi.ClosingBehavior c : RunnerApi.ClosingBehavior.values()) System.out.println(c);
public static RunnerApi.ClosingBehavior valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RunnerApi.ClosingBehavior valueOf(int value)
forNumber(int) instead.public static RunnerApi.ClosingBehavior forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RunnerApi.ClosingBehavior> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RunnerApi.ClosingBehavior valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.