T - The declaring typepublic class DefaultFindOptionalInterceptor<T> extends AbstractQueryInterceptor<T,java.util.Optional<java.lang.Object>> implements io.micronaut.data.intercept.FindOptionalInterceptor<T>
FindOptionalInterceptor.operations, preparedQueryResolver| Constructor and Description |
|---|
DefaultFindOptionalInterceptor(io.micronaut.data.operations.RepositoryOperations datastore)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.Object> |
intercept(io.micronaut.data.intercept.RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<T,java.util.Optional<java.lang.Object>> context) |
convertNumberArgumentIfNecessary, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getParameterValueMap, getRequiredEntity, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, prepareQuery, validateNullArgumentspublic DefaultFindOptionalInterceptor(@NonNull
io.micronaut.data.operations.RepositoryOperations datastore)
datastore - The operationspublic java.util.Optional<java.lang.Object> intercept(io.micronaut.data.intercept.RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<T,java.util.Optional<java.lang.Object>> context)
intercept in interface io.micronaut.data.intercept.DataInterceptor<T,java.util.Optional<java.lang.Object>>