public static enum RunnerApi.MergeStatus extends Enum<RunnerApi.MergeStatus> implements com.google.protobuf.ProtocolMessageEnum
Whether or not a PCollection's WindowFn is non-merging, merging, or merging-but-already-merged, in which case a subsequent GroupByKey is almost always going to do something the user does not wantProtobuf enum
org.apache.beam.runner_api.v1.MergeStatus| Enum Constant and Description |
|---|
ALREADY_MERGED
The WindowFn is merging and the PCollection has had merging occur
already.
|
NEEDS_MERGE
The WindowFn is merging and the PCollection has not had merging
performed.
|
NON_MERGING
The WindowFn does not require merging.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALREADY_MERGED_VALUE
The WindowFn is merging and the PCollection has had merging occur
already.
|
static int |
NEEDS_MERGE_VALUE
The WindowFn is merging and the PCollection has not had merging
performed.
|
static int |
NON_MERGING_VALUE
The WindowFn does not require merging.
|
| Modifier and Type | Method and Description |
|---|---|
static RunnerApi.MergeStatus |
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.MergeStatus> |
internalGetValueMap() |
static RunnerApi.MergeStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RunnerApi.MergeStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RunnerApi.MergeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunnerApi.MergeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunnerApi.MergeStatus NON_MERGING
The WindowFn does not require merging. Examples: global window, FixedWindows, SlidingWindows
NON_MERGING = 0;public static final RunnerApi.MergeStatus NEEDS_MERGE
The WindowFn is merging and the PCollection has not had merging performed. Example: Sessions prior to a GroupByKey
NEEDS_MERGE = 1;public static final RunnerApi.MergeStatus ALREADY_MERGED
The WindowFn is merging and the PCollection has had merging occur already. Example: Sessions after a GroupByKey
ALREADY_MERGED = 2;public static final RunnerApi.MergeStatus UNRECOGNIZED
public static final int NON_MERGING_VALUE
The WindowFn does not require merging. Examples: global window, FixedWindows, SlidingWindows
NON_MERGING = 0;public static final int NEEDS_MERGE_VALUE
The WindowFn is merging and the PCollection has not had merging performed. Example: Sessions prior to a GroupByKey
NEEDS_MERGE = 1;public static final int ALREADY_MERGED_VALUE
The WindowFn is merging and the PCollection has had merging occur already. Example: Sessions after a GroupByKey
ALREADY_MERGED = 2;public static RunnerApi.MergeStatus[] values()
for (RunnerApi.MergeStatus c : RunnerApi.MergeStatus.values()) System.out.println(c);
public static RunnerApi.MergeStatus 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.MergeStatus valueOf(int value)
forNumber(int) instead.public static RunnerApi.MergeStatus forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RunnerApi.MergeStatus> 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.MergeStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.