Package | Description |
---|---|
com.mongodb.client.gridfs |
This package contains the new GridFS implementation
|
Modifier and Type | Method and Description |
---|---|
GridFSFindIterable |
GridFSFindIterable.batchSize(int batchSize)
Sets the number of documents to return per batch.
|
GridFSFindIterable |
GridFSFindIterable.collation(com.mongodb.client.model.Collation collation)
Sets the collation options
|
GridFSFindIterable |
GridFSFindIterable.filter(org.bson.conversions.Bson filter)
Sets the query filter to apply to the query.
|
GridFSFindIterable |
GridFSBucket.find()
Finds all documents in the files collection.
|
GridFSFindIterable |
GridFSBucket.find(org.bson.conversions.Bson filter)
Finds all documents in the collection that match the filter.
|
GridFSFindIterable |
GridFSFindIterable.limit(int limit)
Sets the limit to apply.
|
GridFSFindIterable |
GridFSFindIterable.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
GridFSFindIterable |
GridFSFindIterable.noCursorTimeout(boolean noCursorTimeout)
The server normally times out idle cursors after an inactivity period (10 minutes)
to prevent excess memory use.
|
GridFSFindIterable |
GridFSFindIterable.skip(int skip)
Sets the number of documents to skip.
|
GridFSFindIterable |
GridFSFindIterable.sort(org.bson.conversions.Bson sort)
Sets the sort criteria to apply to the query.
|
Copyright © 2017. All rights reserved.