public static class AliasOrIndex.Index extends java.lang.Object implements AliasOrIndex
IndexMetaData
AliasOrIndex.Alias, AliasOrIndex.Index
Constructor and Description |
---|
Index(IndexMetaData indexMetaData) |
Modifier and Type | Method and Description |
---|---|
IndexMetaData |
getIndex() |
java.util.List<IndexMetaData> |
getIndices() |
boolean |
isAlias() |
public Index(IndexMetaData indexMetaData)
public boolean isAlias()
isAlias
in interface AliasOrIndex
public java.util.List<IndexMetaData> getIndices()
getIndices
in interface AliasOrIndex
IndexMetaData
of all concrete indices this alias is referring to or if this is a concrete index its IndexMetaData
public IndexMetaData getIndex()
IndexMetaData