Package org.elasticsearch.snapshots
Class SnapshotUtils
java.lang.Object
org.elasticsearch.snapshots.SnapshotUtils
Snapshot utilities
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfilterIndices
(List<String> availableIndices, String[] selectedIndices, IndicesOptions indicesOptions) Filters out list of available indices based on the list of selected indices.
-
Constructor Details
-
SnapshotUtils
public SnapshotUtils()
-
-
Method Details
-
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
-