Class QueryIndex.IndexPlan.Builder
java.lang.Object
org.apache.jackrabbit.oak.spi.query.QueryIndex.IndexPlan.Builder
- Enclosing interface:
- QueryIndex.IndexPlan
A builder for index plans.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected doubleprotected org.apache.jackrabbit.oak.spi.state.NodeStateprotected booleanprotected longprotected Filterprotected booleanprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected Filter.PropertyRestrictionprotected List<QueryIndex.OrderEntry>protected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalMessage(String level, String s) build()setAttribute(String key, Object value) setCostPerEntry(double costPerEntry) setCostPerExecution(double costPerExecution) setDefinition(org.apache.jackrabbit.oak.spi.state.NodeState definition) setDelayed(boolean isDelayed) setDeprecated(boolean deprecated) setEstimatedEntryCount(long estimatedEntryCount) setFulltextIndex(boolean isFulltextIndex) setIncludesNodeData(boolean includesNodeData) setLogWarningForPathFilterMismatch(boolean value) setPathPrefix(String pathPrefix) setPlanName(String name) setPropertyRestriction(Filter.PropertyRestriction restriction) setSortOrder(List<QueryIndex.OrderEntry> sortOrder) setSupportsPathRestriction(boolean supportsPathRestriction)
-
Field Details
-
costPerExecution
protected double costPerExecution -
costPerEntry
protected double costPerEntry -
estimatedEntryCount
protected long estimatedEntryCount -
filter
-
isDelayed
protected boolean isDelayed -
isFulltextIndex
protected boolean isFulltextIndex -
includesNodeData
protected boolean includesNodeData -
sortOrder
-
definition
protected org.apache.jackrabbit.oak.spi.state.NodeState definition -
propRestriction
-
pathPrefix
-
supportsPathRestriction
protected boolean supportsPathRestriction -
attributes
-
planName
-
deprecated
protected boolean deprecated -
logWarningForPathFilterMismatch
protected boolean logWarningForPathFilterMismatch -
additionalMessages
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setCostPerExecution
-
setCostPerEntry
-
setEstimatedEntryCount
-
setFilter
-
setDelayed
-
addAdditionalMessage
-
setLogWarningForPathFilterMismatch
-
setFulltextIndex
-
setIncludesNodeData
-
setSortOrder
-
setDefinition
public QueryIndex.IndexPlan.Builder setDefinition(org.apache.jackrabbit.oak.spi.state.NodeState definition) -
setPropertyRestriction
-
setPathPrefix
-
setSupportsPathRestriction
-
setAttribute
-
setPlanName
-
setDeprecated
-
build
-