Package io.micronaut.data.model.runtime
Interface StoredDataOperation<R>
-
- Type Parameters:
R
- the result type
- All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider
,io.micronaut.core.annotation.AnnotationSource
- All Known Subinterfaces:
BatchOperation<E>
,BindableParametersPreparedQuery<E,R>
,BindableParametersStoredQuery<E,R>
,DelegatePreparedQuery<E,R>
,DelegateStoredQuery<E,R>
,DeleteBatchOperation<E>
,DeleteOperation<E>
,EntityInstanceOperation<E>
,EntityOperation<E>
,InsertBatchOperation<E>
,InsertOperation<E>
,MongoPreparedQuery<E,R>
,MongoStoredQuery<E,R>
,PreparedDataOperation<R>
,PreparedQuery<E,R>
,SqlPreparedQuery<E,R>
,SqlStoredQuery<E,R>
,StoredQuery<E,R>
,UpdateBatchOperation<E>
,UpdateOperation<E>
- All Known Implementing Classes:
AbstractPreparedDataOperation
,BasicStoredQuery
,DefaultBindableParametersPreparedQuery
,DefaultBindableParametersStoredQuery
,DefaultPreparedQuery
,DefaultSqlPreparedQuery
,DefaultSqlStoredQuery
,DefaultStoredDataOperation
,DefaultStoredQuery
,DummyPreparedQuery
,QueryResultStoredQuery
public interface StoredDataOperation<R> extends io.micronaut.core.annotation.AnnotationMetadataProvider
Common super interface for all stored operations.- Since:
- 2.2.0
- Author:
- graemerocher
- See Also:
EntityOperation
,PreparedQuery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description io.micronaut.core.type.Argument<R>
getResultArgument()
default java.util.Optional<TransactionDefinition>
getTransactionDefinition()
-
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
-
-
-
-
Method Detail
-
getTransactionDefinition
@NonNull default java.util.Optional<TransactionDefinition> getTransactionDefinition()
- Returns:
- If the operation defines a transaction this method returned it.
- Since:
- 2.2.0
-
getResultArgument
@NonNull io.micronaut.core.type.Argument<R> getResultArgument()
- Returns:
- The query result type
-
-