Interface Value
-
- All Superinterfaces:
Correlated<Value>
,PlanHashable
- All Known Implementing Classes:
BaseValue
,FieldValue
,LiteralValue
,QuantifiedColumnValue
,QuantifiedObjectValue
,RecordTypeValue
,VersionValue
@API(EXPERIMENTAL) public interface Value extends Correlated<Value>, PlanHashable
A scalar value type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.query.plan.temp.Correlated
Correlated.BoundEquivalence
-
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.PlanHashable
PlanHashable.PlanHashKind
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ValueComparisonRangePredicate.Placeholder
asPlaceholder(CorrelationIdentifier parameterAlias)
Method to create aValueComparisonRangePredicate.Placeholder
that is based on this value.<M extends Message>
Objecteval(FDBRecordStoreBase<M> store, EvaluationContext context, FDBRecord<M> record, M message)
default ValuePredicate
withComparison(Comparisons.Comparison comparison)
Method to create aQueryPredicate
that is based on this value and aComparisons.Comparison
that is passed in by the caller.-
Methods inherited from interface com.apple.foundationdb.record.query.plan.temp.Correlated
getCorrelatedTo, rebase, semanticEquals, semanticHashCode
-
Methods inherited from interface com.apple.foundationdb.record.PlanHashable
planHash, planHash
-
-
-
-
Method Detail
-
eval
@Nullable <M extends Message> Object eval(@Nonnull FDBRecordStoreBase<M> store, @Nonnull EvaluationContext context, @Nullable FDBRecord<M> record, @Nullable M message)
-
withComparison
@Nonnull default ValuePredicate withComparison(@Nonnull Comparisons.Comparison comparison)
Method to create aQueryPredicate
that is based on this value and aComparisons.Comparison
that is passed in by the caller.- Parameters:
comparison
- comparison to relate this value to- Returns:
- a new
ValuePredicate
using the passed incomparison
-
asPlaceholder
@Nonnull default ValueComparisonRangePredicate.Placeholder asPlaceholder(@Nonnull CorrelationIdentifier parameterAlias)
Method to create aValueComparisonRangePredicate.Placeholder
that is based on this value. A placeholder is also aQueryPredicate
that is used solely for matching query predicates against.- Parameters:
parameterAlias
- alias to uniquely identify the parameter in theMatchCandidate
this placeholder will be a part of.- Returns:
- a new
ValueComparisonRangePredicate.Placeholder
-
-