Class MongoFindOptions
java.lang.Object
io.micronaut.data.mongodb.operations.options.MongoFindOptions
The MongoDB's find options.
- Since:
 - 3.3.0
 - Author:
 - Denis Stepanov
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionallowDiskUse(Boolean allowDiskUse) collation(com.mongodb.client.model.Collation collation) voidcopyNotNullFrom(MongoFindOptions options) cursorType(com.mongodb.CursorType cursorType) filter(org.bson.conversions.Bson filter) @Nullable Boolean@Nullable Integer@Nullable com.mongodb.client.model.Collation@Nullable String@Nullable com.mongodb.CursorType@Nullable org.bson.conversions.Bson@Nullable org.bson.conversions.BsongetHint()@Nullable IntegergetLimit()@Nullable org.bson.conversions.BsongetMax()@Nullable Long@Nullable Long@Nullable org.bson.conversions.BsongetMin()@Nullable Boolean@Nullable Boolean@Nullable org.bson.conversions.Bson@Nullable Boolean@Nullable Boolean@Nullable IntegergetSkip()@Nullable org.bson.conversions.BsongetSort()hint(org.bson.conversions.Bson hint) booleanisEmpty()max(org.bson.conversions.Bson max) maxAwaitTimeMS(Long maxAwaitTimeMS) min(org.bson.conversions.Bson min) noCursorTimeout(Boolean noCursorTimeout) projection(org.bson.conversions.Bson projection) showRecordId(Boolean showRecordId) sort(org.bson.conversions.Bson sort)  
- 
Constructor Details
- 
MongoFindOptions
public MongoFindOptions() - 
MongoFindOptions
 
 - 
 - 
Method Details
- 
copyNotNullFrom
 - 
isEmpty
public boolean isEmpty() - 
getFilter
@Nullable public @Nullable org.bson.conversions.Bson getFilter() - 
filter
 - 
getBatchSize
 - 
batchSize
 - 
getLimit
 - 
limit
 - 
getProjection
@Nullable public @Nullable org.bson.conversions.Bson getProjection() - 
projection
 - 
getMaxTimeMS
 - 
maxTimeMS
 - 
getMaxAwaitTimeMS
 - 
maxAwaitTimeMS
 - 
getSkip
 - 
skip
 - 
getSort
@Nullable public @Nullable org.bson.conversions.Bson getSort() - 
sort
 - 
getCursorType
@Nullable public @Nullable com.mongodb.CursorType getCursorType() - 
cursorType
 - 
getNoCursorTimeout
 - 
noCursorTimeout
 - 
getPartial
 - 
partial
 - 
getCollation
@Nullable public @Nullable com.mongodb.client.model.Collation getCollation() - 
collation
 - 
getComment
 - 
comment
 - 
getHint
@Nullable public @Nullable org.bson.conversions.Bson getHint() - 
hint
 - 
getMax
@Nullable public @Nullable org.bson.conversions.Bson getMax() - 
max
 - 
getMin
@Nullable public @Nullable org.bson.conversions.Bson getMin() - 
min
 - 
getReturnKey
 - 
returnKey
 - 
getShowRecordId
 - 
showRecordId
 - 
getAllowDiskUse
 - 
allowDiskUse
 
 -