Module org.elasticsearch.server
Package org.elasticsearch.action
Class ResolvedIndexExpressions.Builder
java.lang.Object
org.elasticsearch.action.ResolvedIndexExpressions.Builder
- Enclosing class:
ResolvedIndexExpressions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLocalExpressions(String original, HashSet<String> localExpressions, ResolvedIndexExpression.LocalIndexResolutionResult resolutionResult) build()voidexcludeFromLocalExpressions(Set<String> expressionsToExclude) Exclude the given expressions from the local expressions of all prior addedResolvedIndexExpression.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addLocalExpressions
public void addLocalExpressions(String original, HashSet<String> localExpressions, ResolvedIndexExpression.LocalIndexResolutionResult resolutionResult) - Parameters:
original- the original expression that was resolved -- may be blank for "access all" caseslocalExpressions- is a HashSet as an optimization -- the set needs to be mutable, and we want to avoid copying it. May be empty.
-
excludeFromLocalExpressions
Exclude the given expressions from the local expressions of all prior addedResolvedIndexExpression. -
build
-