Operations
Summarize terminal and Driver extension operations for general Query, write, root aggregation, Atlas Search, and Vector Search.
General Query terminal
findAll()
execute, executePageStream, executeAggregationStream, executeAggregationPageStream, executeAggregation, executeLookup, executeLookupAndCount
find()
execute, executeFirst, executeAggregation, executeLookup
count()
execute, executeAggregation, executeLookup
exists()
execute, executeAggregation, executeLookup
distinct(field, resultClass)
중복 제거 값을 Flux<R>로 반환
delete()
Delete documents matching the current criteria using deleteMany
atomicUpdate()
first/multi/upsertOne → document/pipeline → execute
General query options
paging(pageNumber, pageSize)
Apply skip/limit for 0-based page
sorts(...) / SortSpec.driver(Bson)
Compose DSL sort and Driver-native sort in order of input
excludes(String...)
projection exclude
readPreference(...)
Pass MongoDB Driver ReadPreference
isAllowDiskUse(boolean)
Control aggregation allowDiskUse
customizeQuery(...) / customizeAggregation(...)
Apply additional options to the created Driver publisher
Driver-native root aggregation
aggregation().stage(Bson)
Add Driver stage or raw Document to the pipeline in order of call
stages(Bson...) / stages(Collection<? extends Bson>)
Add multiple Driver-native stages
execute()
Map Flux results to source entity type
execute(ResultType.class)
Map changed result shape to specified type
executeDocument()
Return raw Document Flux
Atlas Search terminal
findAll().execute()
Flux<E> 검색 결과
findAll().executePage() / executePageStream()
Page results or reactive page wrapper
find().execute() / executeFirst()
Mono<E> 단건 결과
count().execute()
Count of final pipeline results after $search
count().executeSearchMeta()
Count of Atlas Search metadata based on $searchMeta
existsQuery().execute()
Existence of search results
stage(Bson) / driverOptions(...) / operator(SearchOperator)
Driver-native Search extension path
Vector Search terminal
findAll().execute() / find().execute()
returns vector pipeline results as Flux/Mono
count().execute() / existsQuery().execute()
count/exists of pipeline results after vector limit
parentFilter(...) / nestedScoreMode(...)
Driver 5.10 nested/array embedding convenience API
query(VectorSearchQuery) / driverOptions(...) / stage(Bson)
Driver-native Vector Search extension path
Diagnostics
preview()
renders current query/pipeline as a diagnostic Document without executing the DB
explain([ExplainVerbosity])
actual MongoDB Driver explain execution