Class Quantifier.Existential
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.Quantifier
-
- com.apple.foundationdb.record.query.plan.temp.Quantifier.Existential
-
- All Implemented Interfaces:
Bindable
- Enclosing class:
- Quantifier
public static final class Quantifier.Existential extends Quantifier
A quantifier that conceptually flows exactly one item containing a boolean to the owning expression indicating whether the subgraph that the quantifier ranges over produced a non-empty or an empty result. When the semantics of this quantifiers are realized in an execution strategy that strategy should facilitate a boolean "short-circuit" mechanism as the result will betrue
as soon as the subgraph produces the first item.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.apple.foundationdb.record.query.plan.temp.Quantifier
Quantifier.Existential, Quantifier.ForEach, Quantifier.Physical
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionRef<? extends RelationalExpression>
getRangesOver()
Return the reference that the quantifier ranges over.String
getShorthand()
Return a short hand string for the quantifier.-
Methods inherited from class com.apple.foundationdb.record.query.plan.temp.Quantifier
acceptPropertyVisitor, bindTo, equals, existential, forEach, hashCode, physical, physical
-
-
-
-
Method Detail
-
getRangesOver
@Nonnull public ExpressionRef<? extends RelationalExpression> getRangesOver()
Description copied from class:Quantifier
Return the reference that the quantifier ranges over.- Specified by:
getRangesOver
in classQuantifier
- Returns:
ExpressionRef
this quantifier ranges over
-
getShorthand
@Nonnull public String getShorthand()
Description copied from class:Quantifier
Return a short hand string for the quantifier. As a quantifier's semantics is usually quite subtle and should not distract from expressions. For example, when a data flow is visualized the returned string should be short.- Specified by:
getShorthand
in classQuantifier
- Returns:
- a short string representing the quantifier.
-
-