Package io.micronaut.data.model.runtime
Interface BatchOperation<E>
- Type Parameters:
E- The entity type
- All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider,io.micronaut.core.annotation.AnnotationSource,io.micronaut.core.attr.AttributeHolder,EntityOperation<E>,Iterable<E>,io.micronaut.core.naming.Named,PreparedDataOperation<E>,StoredDataOperation<E>
- All Known Subinterfaces:
DeleteBatchOperation<E>,InsertBatchOperation<E>,UpdateBatchOperation<E>
public interface BatchOperation<E>
extends EntityOperation<E>, Iterable<E>, PreparedDataOperation<E>
A batch operation is an operation performed on one or more entities of the same type.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Method Summary
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface io.micronaut.core.attr.AttributeHolder
getAttribute, getAttribute, getAttributesMethods inherited from interface io.micronaut.data.model.runtime.EntityOperation
getInvocationContext, getRepositoryType, getRootEntity, getStoredQueryMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface io.micronaut.core.naming.Named
getNameMethods inherited from interface io.micronaut.data.model.runtime.PreparedDataOperation
getParameterInRoleMethods inherited from interface io.micronaut.data.model.runtime.StoredDataOperation
getResultArgument, getTransactionDefinition
-
Method Details
-
all
default boolean all()- Returns:
- Whether the operation applies to all and not use the iterable values.
-