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 classDeserializer.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, scanTypeFields inherited from interface com.apple.foundationdb.record.PlanHashable
CURRENT_FOR_CONTINUATION, CURRENT_LEGACY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLuceneScanSpellCheckParameters(PlanSerializationContext serializationContext, com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters luceneScanSpellCheckParametersProto) protectedLuceneScanSpellCheckParameters(ScanComparisons groupComparisons, String key, boolean isParameter) -
Method Summary
Modifier and TypeMethodDescriptionbind(FDBRecordStoreBase<?> store, Index index, EvaluationContext context) booleancom.apple.foundationdb.record.query.plan.explain.ExplainTokensWithPrecedenceexplain()fromProto(PlanSerializationContext serializationContext, com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters luceneScanSpellCheckParametersProto) voidgetPlannerGraphDetails(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) inthashCode()intbooleansemanticEquals(Object other, AliasMap aliasMap) intcom.apple.foundationdb.record.planprotos.PIndexScanParameterstoIndexScanParametersProto(PlanSerializationContext serializationContext) com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameterstoProto(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, toLuceneScanParametersProtoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.apple.foundationdb.record.query.plan.cascades.Correlated
isCorrelatedToMethods 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:
planHashin interfacePlanHashable
-
bind
@Nonnull public LuceneScanSpellCheck bind(@Nonnull FDBRecordStoreBase<?> store, @Nonnull Index index, @Nonnull EvaluationContext context) - Specified by:
bindin interfaceIndexScanParameters- Specified by:
bindin classLuceneScanParameters
-
explain
@Nonnull public com.apple.foundationdb.record.query.plan.explain.ExplainTokensWithPrecedence explain()- Specified by:
explainin 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:
getPlannerGraphDetailsin interfaceIndexScanParameters- Overrides:
getPlannerGraphDetailsin classLuceneScanParameters
-
translateCorrelations
@Nonnull public IndexScanParameters translateCorrelations(@Nonnull com.apple.foundationdb.record.query.plan.cascades.values.translation.TranslationMap translationMap, boolean shouldSimplifyValues) - Specified by:
translateCorrelationsin interfaceIndexScanParameters
-
rebase
- Specified by:
rebasein interfaceCorrelated<IndexScanParameters>
-
semanticEquals
- Specified by:
semanticEqualsin interfaceCorrelated<IndexScanParameters>
-
semanticHashCode
public int semanticHashCode()- Specified by:
semanticHashCodein interfaceCorrelated<IndexScanParameters>
-
toString
- Overrides:
toStringin classLuceneScanParameters
-
equals
- Overrides:
equalsin classLuceneScanParameters
-
hashCode
public int hashCode()- Overrides:
hashCodein classLuceneScanParameters
-
toProto
@Nonnull public com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters toProto(@Nonnull PlanSerializationContext serializationContext) - Specified by:
toProtoin interfacePlanSerializable
-
toIndexScanParametersProto
@Nonnull public com.apple.foundationdb.record.planprotos.PIndexScanParameters toIndexScanParametersProto(@Nonnull PlanSerializationContext serializationContext) - Specified by:
toIndexScanParametersProtoin interfaceIndexScanParameters
-
fromProto
@Nonnull public static LuceneScanSpellCheckParameters fromProto(@Nonnull PlanSerializationContext serializationContext, @Nonnull com.apple.foundationdb.record.planprotos.PLuceneScanSpellCheckParameters luceneScanSpellCheckParametersProto)
-