Interface AliasOrIndex
-
- All Known Implementing Classes:
AliasOrIndex.Alias
,AliasOrIndex.Index
public interface AliasOrIndex
Encapsulates theIndexMetaData
instances of a concrete index or indices an alias is pointing to.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AliasOrIndex.Alias
Represents an alias and groups allIndexMetaData
instances sharing the same alias name together.static class
AliasOrIndex.Index
Represents an concrete index and encapsulates itsIndexMetaData
-
Method Summary
Modifier and Type Method Description java.util.List<IndexMetaData>
getIndices()
boolean
isAlias()
-
-
-
Method Detail
-
isAlias
boolean isAlias()
- Returns:
- whether this an alias or concrete index
-
getIndices
java.util.List<IndexMetaData> getIndices()
- Returns:
- All
IndexMetaData
of all concrete indices this alias is referring to or if this is a concrete index itsIndexMetaData
-
-