Class IndexModel


  • @Deprecated(since="2021-05-27")
    public class IndexModel
    extends java.lang.Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A model describing the creation of a single index.
    Since:
    3.0
    • Constructor Detail

      • IndexModel

        public IndexModel​(Bson keys)
        Deprecated.
        Construct an instance with the given keys.
        Parameters:
        keys - the index keys
      • IndexModel

        public IndexModel​(Bson keys,
                          IndexOptions options)
        Deprecated.
        Construct an instance with the given keys and options.
        Parameters:
        keys - the index keys
        options - the index options
    • Method Detail

      • getKeys

        public Bson getKeys()
        Deprecated.
        Gets the index keys.
        Returns:
        the index keys
      • getOptions

        public IndexOptions getOptions()
        Deprecated.
        Gets the index options.
        Returns:
        the index options
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object