Package org.elasticsearch.snapshots
Class SnapshotUtils
- java.lang.Object
-
- org.elasticsearch.snapshots.SnapshotUtils
-
public class SnapshotUtils extends Object
Snapshot utilities
-
-
Constructor Summary
Constructors Constructor Description SnapshotUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>filterIndices(List<String> availableIndices, String[] selectedIndices, IndicesOptions indicesOptions)Filters out list of available indices based on the list of selected indices.
-
-
-
Method Detail
-
filterIndices
public static List<String> filterIndices(List<String> availableIndices, String[] selectedIndices, IndicesOptions indicesOptions)
Filters out list of available indices based on the list of selected indices.- Parameters:
availableIndices- list of available indicesselectedIndices- list of selected indicesindicesOptions- ignore indices flag- Returns:
- filtered out indices
-
-