public static enum StreamConfig.InputRequirement extends Enum<StreamConfig.InputRequirement>
SORTED inputs, records are sorted/grouped by key and all
records of a given key are passed to the operator consecutively before moving on to the next
group.| 枚举常量和说明 |
|---|
PASS_THROUGH
Records from
PASS_THROUGH inputs are passed to the operator before passing any
records from SORTED inputs. |
SORTED
Records from all sorted inputs are grouped (sorted) by key and are then fed to the
operator one group at a time.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static StreamConfig.InputRequirement |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static StreamConfig.InputRequirement[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final StreamConfig.InputRequirement SORTED
public static final StreamConfig.InputRequirement PASS_THROUGH
PASS_THROUGH inputs are passed to the operator before passing any
records from SORTED inputs. There are no guarantees on ordering between and
within the different PASS_THROUGH inputs.public static StreamConfig.InputRequirement[] values()
for (StreamConfig.InputRequirement c : StreamConfig.InputRequirement.values()) System.out.println(c);
public static StreamConfig.InputRequirement valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.