Class CompositeQueryIndexProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.query.CompositeQueryIndexProvider
-
- All Implemented Interfaces:
QueryIndexProvider
public class CompositeQueryIndexProvider extends java.lang.Object implements QueryIndexProvider
ThisQueryIndexProvider
aggregates a list of query index providers into a single query index provider.
-
-
Constructor Summary
Constructors Constructor Description CompositeQueryIndexProvider(QueryIndexProvider... providers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull QueryIndexProvider
compose(@NotNull java.util.Collection<QueryIndexProvider> providers)
@NotNull java.util.List<? extends QueryIndex>
getQueryIndexes(NodeState nodeState)
Get the currently configured indexes.java.lang.String
toString()
-
-
-
Constructor Detail
-
CompositeQueryIndexProvider
public CompositeQueryIndexProvider(QueryIndexProvider... providers)
-
-
Method Detail
-
compose
@NotNull public static @NotNull QueryIndexProvider compose(@NotNull @NotNull java.util.Collection<QueryIndexProvider> providers)
-
getQueryIndexes
@NotNull public @NotNull java.util.List<? extends QueryIndex> getQueryIndexes(NodeState nodeState)
Description copied from interface:QueryIndexProvider
Get the currently configured indexes.- Specified by:
getQueryIndexes
in interfaceQueryIndexProvider
- Parameters:
nodeState
- the node state of the root- Returns:
- the list of indexes
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-