public enum DamBehavior extends Enum<DamBehavior>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMaterializing()
Checks whether this enumeration represents some form of materialization, either with a full
dam or without.
|
static DamBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DamBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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 boolean isMaterializing()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.