Class IndexNameExpressionResolver.Context
java.lang.Object
org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.Context
- Enclosing class:
- IndexNameExpressionResolver
public static class IndexNameExpressionResolver.Context
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description protected
Context(ClusterState state, IndicesOptions options, long startTime, boolean preserveAliases, boolean resolveToWriteIndex, boolean includeDataStreams, boolean preserveDataStreams, java.util.function.Predicate<java.lang.String> systemIndexAccessPredicate)
-
Method Summary
Modifier and Type Method Description IndicesOptions
getOptions()
long
getStartTime()
ClusterState
getState()
java.util.function.Predicate<java.lang.String>
getSystemIndexAccessPredicate()
Used to determine system index access is allowed in this context (e.g.boolean
includeDataStreams()
boolean
isPreserveDataStreams()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Context
protected Context(ClusterState state, IndicesOptions options, long startTime, boolean preserveAliases, boolean resolveToWriteIndex, boolean includeDataStreams, boolean preserveDataStreams, java.util.function.Predicate<java.lang.String> systemIndexAccessPredicate)
-
-
Method Details
-
getState
-
getOptions
-
getStartTime
public long getStartTime() -
includeDataStreams
public boolean includeDataStreams() -
isPreserveDataStreams
public boolean isPreserveDataStreams() -
getSystemIndexAccessPredicate
public java.util.function.Predicate<java.lang.String> getSystemIndexAccessPredicate()Used to determine system index access is allowed in this context (e.g. for this request).
-