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) void
copyNotNullFrom
(MongoFindOptions options) cursorType
(com.mongodb.CursorType cursorType) filter
(org.bson.conversions.Bson filter) com.mongodb.client.model.Collation
com.mongodb.CursorType
org.bson.conversions.Bson
org.bson.conversions.Bson
getHint()
getLimit()
org.bson.conversions.Bson
getMax()
org.bson.conversions.Bson
getMin()
org.bson.conversions.Bson
getSkip()
org.bson.conversions.Bson
getSort()
hint
(org.bson.conversions.Bson hint) boolean
isEmpty()
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
-