Class AliasOrIndex.Alias

  • All Implemented Interfaces:
    Enclosing interface:

    public static class AliasOrIndex.Alias
    extends java.lang.Object
    implements AliasOrIndex
    Represents an alias and groups all IndexMetaData instances sharing the same alias name together.
    • Method Detail

      • isAlias

        public boolean isAlias()
        Specified by:
        isAlias in interface AliasOrIndex
        whether this an alias or concrete index
      • getAliasName

        public java.lang.String getAliasName()
      • getConcreteIndexAndAliasMetaDatas

        public java.lang.Iterable<Tuple<java.lang.String,​AliasMetaData>> getConcreteIndexAndAliasMetaDatas()
        Returns the unique alias metadata per concrete index. (note that although alias can point to the same concrete indices, each alias reference may have its own routing and filters)
      • getFirstAliasMetaData

        public AliasMetaData getFirstAliasMetaData()
      • computeAndValidateWriteIndex

        public void computeAndValidateWriteIndex()