Class Quantifier.Physical
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.Quantifier
-
- com.apple.foundationdb.record.query.plan.temp.Quantifier.Physical
-
- All Implemented Interfaces:
Bindable
,Correlated<Quantifier>
- Enclosing class:
- Quantifier
public static final class Quantifier.Physical extends Quantifier
Physical quantifier. This kind of quantifier is the conduit between twoRecordQueryPlan
s. It does not have any associated semantics; all semantics and execution details must be subsumed by the query plans themselves.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Quantifier.Physical.PhysicalBuilder
Builder subclass for physical quantifiers.-
Nested classes/interfaces inherited from class com.apple.foundationdb.record.query.plan.temp.Quantifier
Quantifier.Builder<Q extends Quantifier,B extends Quantifier.Builder<Q,B>>, Quantifier.Existential, Quantifier.ForEach, Quantifier.Physical
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
ExpressionRef<? extends RecordQueryPlan>
getRangesOver()
Return the reference that the quantifier ranges over.RecordQueryPlan
getRangesOverPlan()
String
getShorthand()
Return a short hand string for the quantifier.int
hashCode()
Quantifier.Physical
rebase(AliasMap translationMap)
Rebases this and all other objects this objects is composed of using a given translation map.boolean
structuralEquals(Object other)
int
structuralHashCode()
String
toString()
-
Methods inherited from class com.apple.foundationdb.record.query.plan.temp.Quantifier
acceptPropertyVisitor, bindTo, equalsOnKind, existential, existential, existentialBuilder, forEach, forEach, forEachBuilder, getAlias, getCorrelatedTo, narrow, needsRebase, physical, physical, physicalBuilder, semanticEquals, semanticHashCode
-
-
-
-
Method Detail
-
getRangesOver
@Nonnull public ExpressionRef<? extends RecordQueryPlan> 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
-
getRangesOverPlan
@Nonnull public RecordQueryPlan getRangesOverPlan()
-
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.
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classQuantifier
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classQuantifier
-
structuralHashCode
public int structuralHashCode()
-
toString
@Nonnull public String toString()
- Overrides:
toString
in classQuantifier
-
rebase
@Nonnull public Quantifier.Physical rebase(@Nonnull AliasMap translationMap)
Description copied from interface:Correlated
Rebases this and all other objects this objects is composed of using a given translation map.- Parameters:
translationMap
- a map defining a translation fromCorrelationIdentifier
sids
toCorrelationIdentifier
sids'
. After the rebase, every correlation to anid
containedids
that is contained or referred to directly or indirectly bythis
must have been transformed to use the mapped counterpart ofid
id'
inids'
. IDs not contained in the translation map must remain unmodified by the rebase operation.- Returns:
- a new entity that has been rebased
-
-