Class QueryIndex.IndexPlan.Builder
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.query.QueryIndex.IndexPlan.Builder
-
- Enclosing interface:
- QueryIndex.IndexPlan
public static class QueryIndex.IndexPlan.Builder extends java.lang.Object
A builder for index plans.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
setCostPerExecution
public QueryIndex.IndexPlan.Builder setCostPerExecution(double costPerExecution)
-
setCostPerEntry
public QueryIndex.IndexPlan.Builder setCostPerEntry(double costPerEntry)
-
setEstimatedEntryCount
public QueryIndex.IndexPlan.Builder setEstimatedEntryCount(long estimatedEntryCount)
-
setFilter
public QueryIndex.IndexPlan.Builder setFilter(Filter filter)
-
setDelayed
public QueryIndex.IndexPlan.Builder setDelayed(boolean isDelayed)
-
addAdditionalMessage
public QueryIndex.IndexPlan.Builder addAdditionalMessage(Level level, java.lang.String s)
-
setLogWarningForPathFilterMismatch
public QueryIndex.IndexPlan.Builder setLogWarningForPathFilterMismatch(boolean value)
-
setFulltextIndex
public QueryIndex.IndexPlan.Builder setFulltextIndex(boolean isFulltextIndex)
-
setIncludesNodeData
public QueryIndex.IndexPlan.Builder setIncludesNodeData(boolean includesNodeData)
-
setSortOrder
public QueryIndex.IndexPlan.Builder setSortOrder(java.util.List<QueryIndex.OrderEntry> sortOrder)
-
setDefinition
public QueryIndex.IndexPlan.Builder setDefinition(NodeState definition)
-
setPropertyRestriction
public QueryIndex.IndexPlan.Builder setPropertyRestriction(Filter.PropertyRestriction restriction)
-
setPathPrefix
public QueryIndex.IndexPlan.Builder setPathPrefix(java.lang.String pathPrefix)
-
setSupportsPathRestriction
public QueryIndex.IndexPlan.Builder setSupportsPathRestriction(boolean supportsPathRestriction)
-
setAttribute
public QueryIndex.IndexPlan.Builder setAttribute(java.lang.String key, java.lang.Object value)
-
setPlanName
public QueryIndex.IndexPlan.Builder setPlanName(java.lang.String name)
-
setDeprecated
public QueryIndex.IndexPlan.Builder setDeprecated(boolean deprecated)
-
build
public QueryIndex.IndexPlan build()
-
-