Class DropQueryIndexOptions

    • Method Detail

      • dropQueryIndexOptions

        public static DropQueryIndexOptions dropQueryIndexOptions()
        Creates a new instance with default values.
        Returns:
        the instantiated default options.
      • ignoreIfNotExists

        public DropQueryIndexOptions ignoreIfNotExists​(boolean ignore)
        If the index does not exist, an exception will be thrown unless this is set to true.
      • scopeName

        @Uncommitted
        public DropQueryIndexOptions scopeName​(String scopeName)
        Sets the scope name for this query management operation.

        Please note that if the scope name is set, the collectionName(String) (String)} must also be set.

        Parameters:
        scopeName - the name of the scope.
        Returns:
        this options class for chaining purposes.
      • collectionName

        @Uncommitted
        public DropQueryIndexOptions collectionName​(String collectionName)
        Sets the collection name for this query management operation.

        Please note that if the collection name is set, the scopeName(String) must also be set.

        Parameters:
        collectionName - the name of the collection.
        Returns:
        this options class for chaining purposes.