Class LuceneBooleanQuery
java.lang.Object
com.apple.foundationdb.record.lucene.LuceneQueryClause
com.apple.foundationdb.record.lucene.LuceneBooleanQuery
- All Implemented Interfaces:
PlanHashable
- Direct Known Subclasses:
LuceneNotQuery
Binder for a conjunction of other clauses.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.apple.foundationdb.record.lucene.LuceneQueryClause
LuceneQueryClause.BoundQuery
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.PlanHashable
PlanHashable.PlanHashKind, PlanHashable.PlanHashMode
-
Field Summary
Fields inherited from interface com.apple.foundationdb.record.PlanHashable
CURRENT_FOR_CONTINUATION, CURRENT_LEGACY
-
Constructor Summary
ConstructorsConstructorDescriptionLuceneBooleanQuery
(LuceneQueryType queryType, List<LuceneQueryClause> children, org.apache.lucene.search.BooleanClause.Occur occur) -
Method Summary
Modifier and TypeMethodDescriptionbind
(FDBRecordStoreBase<?> store, Index index, EvaluationContext context) protected List<LuceneQueryClause>
protected org.apache.lucene.search.BooleanClause.Occur
getOccur()
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
toString()
Methods inherited from class com.apple.foundationdb.record.lucene.LuceneQueryClause
combineHighlightingTermsMaps, getHighlightingTermsMap, getQueryType, toBoundQuery
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.apple.foundationdb.record.PlanHashable
planHash, planHash
-
Constructor Details
-
LuceneBooleanQuery
public LuceneBooleanQuery(@Nonnull LuceneQueryType queryType, @Nonnull List<LuceneQueryClause> children, @Nonnull org.apache.lucene.search.BooleanClause.Occur occur)
-
-
Method Details
-
getChildren
-
getOccur
@Nonnull protected org.apache.lucene.search.BooleanClause.Occur getOccur() -
bind
public LuceneQueryClause.BoundQuery bind(@Nonnull FDBRecordStoreBase<?> store, @Nonnull Index index, @Nonnull EvaluationContext context) - Specified by:
bind
in classLuceneQueryClause
-
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 classLuceneQueryClause
-
planHash
-
toString
-