Interface MongoStoredQuery<E,​R,​Dtb>

    • Method Detail

      • getDatabase

        Dtb getDatabase()
        Returns:
        The associated databae
      • isAggregate

        boolean isAggregate()
        Returns:
        Is aggregation query?
      • getAggregation

        MongoAggregation getAggregation​(io.micronaut.aop.InvocationContext<?,​?> invocationContext)
        Parameters:
        invocationContext - The invocation context to have query parameters extracted from
        Returns:
        The data to execute the aggregation
      • getFind

        MongoFind getFind​(io.micronaut.aop.InvocationContext<?,​?> invocationContext)
        Parameters:
        invocationContext - The invocation context to have query parameters extracted from
        Returns:
        The data to execute the find
      • getUpdateMany

        MongoUpdate getUpdateMany​(io.micronaut.aop.InvocationContext<?,​?> invocationContext)
        Parameters:
        invocationContext - The invocation context to have query parameters extracted from
        Returns:
        The data to execute the update
      • getUpdateOne

        MongoUpdate getUpdateOne​(E entity)
        Parameters:
        entity - The entity to have query parameters extracted from
        Returns:
        The data to execute the update
      • getDeleteMany

        MongoDelete getDeleteMany​(io.micronaut.aop.InvocationContext<?,​?> invocationContext)
        Parameters:
        invocationContext - The invocation context to have query parameters extracted from
        Returns:
        The data to execute the delete
      • getDeleteOne

        MongoDelete getDeleteOne​(E entity)
        Parameters:
        entity - The entity to have query parameters extracted from
        Returns:
        The data to execute the delete