Interface MongoPreparedQuery<E,R,Dtb>
-
- Type Parameters:
E
- The entity typeR
- The result typeDtb
- The database type
- All Superinterfaces:
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>
public interface MongoPreparedQuery<E,R,Dtb> extends PreparedQuery<E,R>
MongoDB'sPreparedQuery
.- Since:
- 3.3.0
- Author:
- Denis Stepanov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MongoAggregation
getAggregation()
Dtb
getDatabase()
MongoDelete
getDeleteMany()
MongoFind
getFind()
RuntimePersistentEntity<E>
getRuntimePersistentEntity()
MongoUpdate
getUpdateMany()
boolean
isAggregate()
-
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
-
Methods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Methods inherited from interface io.micronaut.core.attr.AttributeHolder
getAttribute, getAttribute, getAttributes
-
Methods inherited from interface io.micronaut.data.model.runtime.PagedQuery
getPageable, getRootEntity
-
Methods inherited from interface io.micronaut.data.model.runtime.PreparedDataOperation
getParameterInRole
-
Methods inherited from interface io.micronaut.data.model.runtime.PreparedQuery
getArguments, getLastUpdatedType, getParameterArray, getParameterValues, getQueryHints, getRepositoryType
-
Methods inherited from interface io.micronaut.data.model.runtime.StoredDataOperation
getTransactionDefinition
-
Methods inherited from interface io.micronaut.data.model.runtime.StoredQuery
getArgumentTypes, getEntityIdentifierType, getExpandableQueryParts, getIndexedParameterAutoPopulatedPreviousPropertyIndexes, getIndexedParameterAutoPopulatedPreviousPropertyPaths, getIndexedParameterAutoPopulatedPropertyPaths, getIndexedParameterBinding, getIndexedParameterPaths, getIndexedParameterTypes, getJoinFetchPaths, getLastUpdatedProperty, getParameterBinding, getParameterNames, getQuery, getQueryBindings, getResultArgument, getResultDataType, getResultType, getRootEntity, hasInExpression, hasPageable, hasResultConsumer, isCount, isDtoProjection, isNative, isOptimisticLock, isSingleResult, useNumericPlaceholders
-
-
-
-
Method Detail
-
getRuntimePersistentEntity
RuntimePersistentEntity<E> getRuntimePersistentEntity()
- Returns:
- The persistent entity
-
getDatabase
Dtb getDatabase()
- Returns:
- The associated databae
-
isAggregate
boolean isAggregate()
- Returns:
- Is aggregation query?
-
getAggregation
MongoAggregation getAggregation()
- Returns:
- The data to execute the aggregation
-
getFind
MongoFind getFind()
- Returns:
- The data to execute the find
-
getUpdateMany
MongoUpdate getUpdateMany()
- Returns:
- The data to execute the update many
-
getDeleteMany
MongoDelete getDeleteMany()
- Returns:
- The data to execute the delete many
-
-