public enum DamBehavior extends Enum<DamBehavior>
| 枚举常量和说明 |
|---|
FULL_DAM
Constant indicating that the algorithm collects all records before returning any.
|
MATERIALIZING
Constant indicating that the algorithm materialized (some) records, but may return records
before all records are read.
|
PIPELINED
Constant indicating that the algorithm does not come with any form of dam and records pass
through in a pipelined fashion.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isMaterializing()
Checks whether this enumeration represents some form of materialization, either with a full
dam or without.
|
static DamBehavior |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DamBehavior[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DamBehavior PIPELINED
public static final DamBehavior MATERIALIZING
public static final DamBehavior FULL_DAM
public static DamBehavior[] values()
for (DamBehavior c : DamBehavior.values()) System.out.println(c);
public static DamBehavior valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public boolean isMaterializing()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.