Class DestructiveOperations

org.elasticsearch.action.support.DestructiveOperations

public final class DestructiveOperations extends
Helper for dealing with destructive operations and wildcard usage.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static >
    Setting which controls whether wildcard usage (*, prefix*, _all) is allowed.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DestructiveOperations​(Settings settings, ClusterSettings clusterSettings)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    [] 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_SETTING
      Setting which controls whether wildcard usage (*, prefix*, _all) is allowed.
  • Constructor Details

  • Method Details

    • failDestructive

      public void failDestructive([] aliasesOrIndices)
      Fail if there is wildcard usage in indices and the named is required for destructive operations.