Class DummyPreparedQuery<E,R> 
java.lang.Object
io.micronaut.data.runtime.operations.internal.query.DummyPreparedQuery<E,R> 
- Type Parameters:
- E- The entity type
- R- 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<R>,- PreparedQuery<E,,- R> - StoredDataOperation<R>,- StoredQuery<E,,- R> - DelegateStoredQuery<E,- R> 
@Internal
public final class DummyPreparedQuery<E,R> 
extends Object
implements PreparedQuery<E,R>, DelegateStoredQuery<E,R>  
The dummy prepared statement, that allows creating 
StoredQuery without actual prepared statement.- Since:
- 3.5.0
- Author:
- Denis Stepanov
- 
Field SummaryFields inherited from interface io.micronaut.core.annotation.AnnotationSourceEMPTY
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProviderfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSourcegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface io.micronaut.core.attr.AttributeHoldergetAttribute, getAttributeMethods inherited from interface io.micronaut.data.runtime.query.internal.DelegateStoredQuerygetAnnotationMetadata, getArgumentTypes, getEntityIdentifierType, getExpandableQueryParts, getJoinFetchPaths, getName, getQuery, getQueryBindings, getResultArgument, getResultDataType, getResultType, hasPageable, hasResultConsumer, isCount, isDtoProjection, isJsonEntity, isNative, isOptimisticLock, isSingleResult, useNumericPlaceholdersMethods inherited from interface io.micronaut.data.model.runtime.PreparedDataOperationgetParameterInRole
- 
Constructor Details- 
DummyPreparedQuery
 
- 
- 
Method Details- 
getStoredQueryDelegate- Specified by:
- getStoredQueryDelegatein interface- DelegateStoredQuery<E,- R> 
- Returns:
- The delegate
 
- 
getQueryHintsDescription copied from interface:PagedQueryThe parameter binding. That is the mapping between named query parameters and parameters of the method.- Specified by:
- getQueryHintsin interface- DelegateStoredQuery<E,- R> 
- Specified by:
- getQueryHintsin interface- PagedQuery<E>
- Specified by:
- getQueryHintsin interface- PreparedQuery<E,- R> 
- Specified by:
- getQueryHintsin interface- StoredQuery<E,- R> 
- Returns:
- The parameter binding.
 
- 
isRawQuerypublic boolean isRawQuery()Description copied from interface:PreparedQueryGets an indicator telling whether underlying query is raw query.- Specified by:
- isRawQueryin interface- DelegateStoredQuery<E,- R> 
- Specified by:
- isRawQueryin interface- PreparedQuery<E,- R> 
- Specified by:
- isRawQueryin interface- StoredQuery<E,- R> 
- Returns:
- true if it is raw query
 
- 
getRepositoryType- Specified by:
- getRepositoryTypein interface- PreparedQuery<E,- R> 
- Returns:
- The repository type.
 
- 
getParameterArray- Specified by:
- getParameterArrayin interface- PreparedQuery<E,- R> 
- Returns:
- The method parameters
 
- 
getArgumentspublic io.micronaut.core.type.Argument[] getArguments()- Specified by:
- getArgumentsin interface- PreparedQuery<E,- R> 
- Returns:
- The method arguments
 
- 
getAttributes- Specified by:
- getAttributesin interface- io.micronaut.core.attr.AttributeHolder
 
- 
getRootEntityDescription copied from interface:PagedQueryThe root entity type.- Specified by:
- getRootEntityin interface- DelegateStoredQuery<E,- R> 
- Specified by:
- getRootEntityin interface- PagedQuery<E>
- Specified by:
- getRootEntityin interface- StoredQuery<E,- R> 
- Returns:
- The root entity type
 
- 
getPageable- Specified by:
- getPageablein interface- PagedQuery<E>
- Returns:
- The pageable object. Defaults to Pageable.UNPAGED
 
 
-