Class LuceneQuerySearchClause
java.lang.Object
com.apple.foundationdb.record.lucene.LuceneQueryClause
com.apple.foundationdb.record.lucene.LuceneQuerySearchClause
- All Implemented Interfaces:
PlanHashable
Query clause from string using Lucene search syntax.
-
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
FieldsFields inherited from interface com.apple.foundationdb.record.PlanHashable
CURRENT_FOR_CONTINUATION, CURRENT_LEGACY
-
Constructor Summary
ConstructorsConstructorDescriptionLuceneQuerySearchClause
(LuceneQueryType queryType, String search, boolean isParameter) LuceneQuerySearchClause
(LuceneQueryType queryType, String defaultField, String search, boolean isParameter) -
Method Summary
Modifier and TypeMethodDescriptionbind
(FDBRecordStoreBase<?> store, Index index, EvaluationContext context) boolean
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()
boolean
int
toString()
Methods inherited from class com.apple.foundationdb.record.lucene.LuceneQueryClause
combineHighlightingTermsMaps, getHighlightingTermsMap, getQueryType, toBoundQuery
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.apple.foundationdb.record.PlanHashable
planHash, planHash
-
Field Details
-
MATCH_ALL_DOCS_QUERY
-
-
Constructor Details
-
LuceneQuerySearchClause
public LuceneQuerySearchClause(@Nonnull LuceneQueryType queryType, @Nonnull String search, boolean isParameter) -
LuceneQuerySearchClause
public LuceneQuerySearchClause(@Nonnull LuceneQueryType queryType, @Nonnull String defaultField, @Nonnull String search, boolean isParameter)
-
-
Method Details
-
getDefaultField
-
getSearch
-
isParameter
public boolean isParameter() -
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
-
equals
-
hashCode
public int hashCode()
-