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, boolean isSystemIndexAccessAllowed)
-
Method Summary
Modifier and Type Method Description IndicesOptions
getOptions()
long
getStartTime()
ClusterState
getState()
boolean
includeDataStreams()
boolean
isPreserveDataStreams()
boolean
isSystemIndexAccessAllowed()
Used to determine if it is allowed to access system indices in this context (e.g.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, boolean isSystemIndexAccessAllowed)
-
-
Method Details
-
getState
-
getOptions
-
getStartTime
public long getStartTime() -
includeDataStreams
public boolean includeDataStreams() -
isPreserveDataStreams
public boolean isPreserveDataStreams() -
isSystemIndexAccessAllowed
public boolean isSystemIndexAccessAllowed()Used to determine if it is allowed to access system indices in this context (e.g. for this request).
-