Package org.elasticsearch.action.support
Class DestructiveOperations
org.elasticsearch.action.support.DestructiveOperations
public final class DestructiveOperations
extends
Helper for dealing with destructive operations and wildcard usage.
-
Field Summary
Modifier and TypeFieldDescriptionstatic >
Setting which controls whether wildcard usage (*, prefix*, _all) is allowed. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
[] aliasesOrIndices)
Fail if there is wildcard usage in indices and the named is required for destructive operations.Methods inherited from class java.lang.
, , , , , , , , , ,
-
Field Details
-
REQUIRES_NAME_SETTING
public static final > REQUIRES_NAME_SETTINGSetting which controls whether wildcard usage (*, prefix*, _all) is allowed.
-
-
Constructor Details
-
DestructiveOperations
-
-
Method Details
-
failDestructive
public void failDestructive([] aliasesOrIndices)Fail if there is wildcard usage in indices and the named is required for destructive operations.
-