Interface MongoPreparedQuery<E,​R,​Dtb>

  • Type Parameters:
    E - The entity type
    R - The result type
    Dtb - The database type
    All Superinterfaces:
    io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.attr.AttributeHolder, io.micronaut.core.naming.Named, PagedQuery<E>, PreparedDataOperation<R>, PreparedQuery<E,​R>, StoredDataOperation<R>, StoredQuery<E,​R>

    public interface MongoPreparedQuery<E,​R,​Dtb>
    extends PreparedQuery<E,​R>
    MongoDB's PreparedQuery.
    Since:
    3.3.0
    Author:
    Denis Stepanov
    • Method Detail

      • getDatabase

        Dtb getDatabase()
        Returns:
        The associated databae
      • isAggregate

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

        MongoAggregation getAggregation()
        Returns:
        The data to execute the aggregation
      • getFind

        MongoFind getFind()
        Returns:
        The data to execute the find
      • getUpdateMany

        MongoUpdate getUpdateMany()
        Returns:
        The data to execute the update many
      • getDeleteMany

        MongoDelete getDeleteMany()
        Returns:
        The data to execute the delete many