Class DefaultPreparedQuery<E,RT>

java.lang.Object
io.micronaut.data.model.runtime.DefaultStoredDataOperation<RT>
io.micronaut.data.runtime.query.internal.DefaultPreparedQuery<E,RT>
Type Parameters:
E - The entity type
RT - The result type
All Implemented Interfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.attr.AttributeHolder, io.micronaut.core.naming.Named, PagedQuery<E>, PreparedDataOperation<RT>, PreparedQuery<E,RT>, StoredDataOperation<RT>, StoredQuery<E,RT>, DelegateStoredQuery<E,RT>

@Internal public final class DefaultPreparedQuery<E,RT> extends DefaultStoredDataOperation<RT> implements DelegateStoredQuery<E,RT>, PreparedQuery<E,RT>
Represents a prepared query.
  • Constructor Details

    • DefaultPreparedQuery

      public DefaultPreparedQuery(io.micronaut.aop.MethodInvocationContext<?,?> context, StoredQuery<E,RT> storedQuery, String finalQuery, @NonNull @NonNull Pageable pageable, boolean dtoProjection, io.micronaut.core.convert.ConversionService conversionService)
      The default constructor.
      Parameters:
      context - The execution context
      storedQuery - The stored query
      finalQuery - The final query
      pageable - The pageable
      dtoProjection - Whether the prepared query is a dto projection
      conversionService - The conversion service
  • Method Details