Class LuceneScanSpellCheckParameters
java.lang.Object
com.apple.foundationdb.record.lucene.LuceneScanParameters
com.apple.foundationdb.record.lucene.LuceneScanSpellCheckParameters
- All Implemented Interfaces:
PlanHashable
,PlanSerializable
,IndexScanParameters
,Correlated<IndexScanParameters>
@API(UNSTABLE)
public class LuceneScanSpellCheckParameters
extends LuceneScanParameters
implements PlanSerializable
Scan parameters for making a
LuceneScanSpellCheck
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deserializer.Nested classes/interfaces inherited from interface com.apple.foundationdb.record.query.plan.cascades.Correlated
Correlated.BoundEquivalence<S extends Correlated<S>>
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.PlanHashable
PlanHashable.PlanHashKind, PlanHashable.PlanHashMode
-
Field Summary
Fields inherited from class com.apple.foundationdb.record.lucene.LuceneScanParameters
groupComparisons, scanType
Fields inherited from interface com.apple.foundationdb.record.PlanHashable
CURRENT_FOR_CONTINUATION, CURRENT_LEGACY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LuceneScanSpellCheckParameters
(PlanSerializationContext serializationContext, com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters luceneScanSpellCheckParametersProto) protected
LuceneScanSpellCheckParameters
(ScanComparisons groupComparisons, String key, boolean isParameter) -
Method Summary
Modifier and TypeMethodDescriptionbind
(FDBRecordStoreBase<?> store, Index index, EvaluationContext context) boolean
com.apple.foundationdb.record.query.plan.explain.ExplainTokensWithPrecedence
explain()
fromProto
(PlanSerializationContext serializationContext, com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters luceneScanSpellCheckParametersProto) void
getPlannerGraphDetails
(com.google.common.collect.ImmutableList.Builder<String> detailsBuilder, com.google.common.collect.ImmutableMap.Builder<String, com.apple.foundationdb.record.query.plan.cascades.explain.Attribute> attributeMapBuilder) int
hashCode()
int
boolean
semanticEquals
(Object other, AliasMap aliasMap) int
com.apple.foundationdb.record.planprotos.PIndexScanParameters
toIndexScanParametersProto
(PlanSerializationContext serializationContext) com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters
toProto
(PlanSerializationContext serializationContext) toString()
translateCorrelations
(com.apple.foundationdb.record.query.plan.cascades.values.translation.TranslationMap translationMap, boolean shouldSimplifyValues) Methods inherited from class com.apple.foundationdb.record.lucene.LuceneScanParameters
getGroupComparisons, getGroupKey, getGroupKeyWithoutContext, getGroupScanDetails, getScanType, indexTextFields, isUnique, toLuceneScanParametersProto
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.apple.foundationdb.record.query.plan.cascades.Correlated
isCorrelatedTo
Methods inherited from interface com.apple.foundationdb.record.PlanHashable
planHash, planHash
-
Constructor Details
-
LuceneScanSpellCheckParameters
protected LuceneScanSpellCheckParameters(@Nonnull PlanSerializationContext serializationContext, @Nonnull com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters luceneScanSpellCheckParametersProto) -
LuceneScanSpellCheckParameters
protected LuceneScanSpellCheckParameters(@Nonnull ScanComparisons groupComparisons, @Nonnull String key, boolean isParameter)
-
-
Method Details
-
planHash
- Specified by:
planHash
in interfacePlanHashable
-
bind
@Nonnull public LuceneScanSpellCheck bind(@Nonnull FDBRecordStoreBase<?> store, @Nonnull Index index, @Nonnull EvaluationContext context) - Specified by:
bind
in interfaceIndexScanParameters
- Specified by:
bind
in classLuceneScanParameters
-
explain
@Nonnull public com.apple.foundationdb.record.query.plan.explain.ExplainTokensWithPrecedence explain()- Specified by:
explain
in interfaceIndexScanParameters
-
getPlannerGraphDetails
public void getPlannerGraphDetails(@Nonnull com.google.common.collect.ImmutableList.Builder<String> detailsBuilder, @Nonnull com.google.common.collect.ImmutableMap.Builder<String, com.apple.foundationdb.record.query.plan.cascades.explain.Attribute> attributeMapBuilder) - Specified by:
getPlannerGraphDetails
in interfaceIndexScanParameters
- Overrides:
getPlannerGraphDetails
in classLuceneScanParameters
-
translateCorrelations
@Nonnull public IndexScanParameters translateCorrelations(@Nonnull com.apple.foundationdb.record.query.plan.cascades.values.translation.TranslationMap translationMap, boolean shouldSimplifyValues) - Specified by:
translateCorrelations
in interfaceIndexScanParameters
-
rebase
- Specified by:
rebase
in interfaceCorrelated<IndexScanParameters>
-
semanticEquals
- Specified by:
semanticEquals
in interfaceCorrelated<IndexScanParameters>
-
semanticHashCode
public int semanticHashCode()- Specified by:
semanticHashCode
in interfaceCorrelated<IndexScanParameters>
-
toString
- Overrides:
toString
in classLuceneScanParameters
-
equals
- Overrides:
equals
in classLuceneScanParameters
-
hashCode
public int hashCode()- Overrides:
hashCode
in classLuceneScanParameters
-
toProto
@Nonnull public com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters toProto(@Nonnull PlanSerializationContext serializationContext) - Specified by:
toProto
in interfacePlanSerializable
-
toIndexScanParametersProto
@Nonnull public com.apple.foundationdb.record.planprotos.PIndexScanParameters toIndexScanParametersProto(@Nonnull PlanSerializationContext serializationContext) - Specified by:
toIndexScanParametersProto
in interfaceIndexScanParameters
-
fromProto
@Nonnull public static LuceneScanSpellCheckParameters fromProto(@Nonnull PlanSerializationContext serializationContext, @Nonnull com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters luceneScanSpellCheckParametersProto)
-