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) com.mongodb.client.model.Collationcom.mongodb.CursorTypeorg.bson.conversions.Bsonorg.bson.conversions.BsongetHint()getLimit()org.bson.conversions.BsongetMax()org.bson.conversions.BsongetMin()org.bson.conversions.BsongetSkip()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 org.bson.conversions.Bson getFilter() -
filter
-
getBatchSize
-
batchSize
-
getLimit
-
limit
-
getProjection
@Nullable public org.bson.conversions.Bson getProjection() -
projection
-
getMaxTimeMS
-
maxTimeMS
-
getMaxAwaitTimeMS
-
maxAwaitTimeMS
-
getSkip
-
skip
-
getSort
@Nullable public org.bson.conversions.Bson getSort() -
sort
-
getCursorType
@Nullable public com.mongodb.CursorType getCursorType() -
cursorType
-
getNoCursorTimeout
-
noCursorTimeout
-
getPartial
-
partial
-
getCollation
@Nullable public com.mongodb.client.model.Collation getCollation() -
collation
-
getComment
-
comment
-
getHint
@Nullable public org.bson.conversions.Bson getHint() -
hint
-
getMax
@Nullable public org.bson.conversions.Bson getMax() -
max
-
getMin
@Nullable public org.bson.conversions.Bson getMin() -
min
-
getReturnKey
-
returnKey
-
getShowRecordId
-
showRecordId
-
getAllowDiskUse
-
allowDiskUse
-