public class FiberMongoCollectionImpl extends SynchronousMongoCollectionImpl
MongoCollection.ValidateMode
DELETE_SINGLE_DELETE_DEFAULT, EMPTY_INDEX_OPTIONS, ID_FIELD_NAME, INSERT_CONTINUE_ON_ERROR_DEFAULT, myClient, myDatabase, myName, UNIQUE_INDEX_OPTIONS, UPDATE_MULTIUPDATE_DEFAULT, UPDATE_UPSERT_DEFAULT
ALL, NONE
Constructor and Description |
---|
FiberMongoCollectionImpl(Client client,
MongoDatabase md,
String string) |
addOptions, count, createIndex, createIndex, createIndex, createIndex, createIndex, determineIndexServerVersion, drop, dropIndex, dropIndex, exists, isCapped, isCreateIndexesSupported, startBatch, stats, updateOptions, validate
aggregateAsync, aggregateAsync, aggregateAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, deleteAsync, deleteAsync, deleteAsync, deleteAsync, deleteAsync, deleteAsync, deleteAsync, distinctAsync, distinctAsync, distinctAsync, explainAsync, explainAsync, explainAsync, explainAsync, explainAsync, explainAsync, findAndModifyAsync, findAndModifyAsync, findAndModifyAsync, findAsync, findAsync, findAsync, findAsync, findAsync, findOneAsync, findOneAsync, findOneAsync, findOneAsync, findOneAsync, getLockType, groupByAsync, groupByAsync, groupByAsync, insertAsync, insertAsync, insertAsync, insertAsync, insertAsync, insertAsync, insertAsync, mapReduceAsync, mapReduceAsync, mapReduceAsync, parallelScanAsync, parallelScanAsync, parallelScanAsync, saveAsync, saveAsync, saveAsync, stream, stream, stream, stream, stream, stream, streamingFind, streamingFind, streamingFind, streamingFind, streamingFind, streamingFind, textSearchAsync, updateAsync, updateAsync, updateAsync, updateAsync, updateAsync, updateAsync, updateAsync, writeAsync, writeAsync, writeAsync
aggregateAsync, asGetLastError, countAsync, createQuery, deleteAsync, distinctAsync, doInsertAsync, doWriteAsync, explainAsync, explainAsync, findAndModifyAsync, findAsync, findOneAsync, getDatabaseName, getDurability, getName, getReadPreference, groupByAsync, insertAsync, isWriteCommandsSupported, mapReduceAsync, parallelScanAsync, saveAsync, setDurability, setReadPreference, stream, stream, textSearchAsync, toCommand, updateAsync, updateReadPreference, useWriteCommand, writeAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDatabaseName, getDurability, getName, getReadPreference, setDurability, setReadPreference
aggregateAsync, aggregateAsync, aggregateAsync, aggregateAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, countAsync, deleteAsync, deleteAsync, deleteAsync, deleteAsync, deleteAsync, deleteAsync, deleteAsync, deleteAsync, distinctAsync, distinctAsync, distinctAsync, distinctAsync, explainAsync, explainAsync, explainAsync, explainAsync, explainAsync, explainAsync, explainAsync, explainAsync, findAndModifyAsync, findAndModifyAsync, findAndModifyAsync, findAndModifyAsync, findAsync, findAsync, findAsync, findAsync, findAsync, findAsync, findOneAsync, findOneAsync, findOneAsync, findOneAsync, findOneAsync, findOneAsync, groupByAsync, groupByAsync, groupByAsync, groupByAsync, insertAsync, insertAsync, insertAsync, insertAsync, insertAsync, insertAsync, insertAsync, insertAsync, mapReduceAsync, mapReduceAsync, mapReduceAsync, mapReduceAsync, parallelScanAsync, parallelScanAsync, parallelScanAsync, parallelScanAsync, saveAsync, saveAsync, saveAsync, saveAsync, stream, stream, stream, stream, stream, stream, stream, stream, streamingFind, streamingFind, streamingFind, streamingFind, streamingFind, streamingFind, textSearchAsync, textSearchAsync, updateAsync, updateAsync, updateAsync, updateAsync, updateAsync, updateAsync, updateAsync, updateAsync, writeAsync, writeAsync, writeAsync, writeAsync
public FiberMongoCollectionImpl(Client client, MongoDatabase md, String string)
@Suspendable public MongoIterator<Document> aggregate(Aggregate.Builder command) throws MongoDbException
aggregate
in interface MongoCollection
aggregate
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Document> aggregate(Aggregate command) throws MongoDbException
aggregate
in interface MongoCollection
aggregate
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long count() throws MongoDbException
count
in interface MongoCollection
count
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long count(Count query) throws MongoDbException
count
in interface MongoCollection
count
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long count(Count.Builder query) throws MongoDbException
count
in interface MongoCollection
count
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long count(DocumentAssignable query, ReadPreference readPreference) throws MongoDbException
count
in interface MongoCollection
count
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long count(ReadPreference readPreference) throws MongoDbException
count
in interface MongoCollection
count
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long delete(DocumentAssignable query) throws MongoDbException
delete
in interface MongoCollection
delete
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long delete(DocumentAssignable query, boolean singleDelete) throws MongoDbException
delete
in interface MongoCollection
delete
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long delete(DocumentAssignable query, boolean singleDelete, Durability durability) throws MongoDbException
delete
in interface MongoCollection
delete
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long delete(DocumentAssignable query, Durability durability) throws MongoDbException
delete
in interface MongoCollection
delete
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Element> distinct(Distinct.Builder command) throws MongoDbException
distinct
in interface MongoCollection
distinct
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Element> distinct(Distinct command) throws MongoDbException
distinct
in interface MongoCollection
distinct
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document explain(Aggregate.Builder query) throws MongoDbException
explain
in interface MongoCollection
explain
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document explain(Aggregate query) throws MongoDbException
explain
in interface MongoCollection
explain
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document explain(DocumentAssignable query) throws MongoDbException
explain
in interface MongoCollection
explain
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document explain(Find.Builder query) throws MongoDbException
explain
in interface MongoCollection
explain
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document explain(Find query) throws MongoDbException
explain
in interface MongoCollection
explain
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Document> find(DocumentAssignable query) throws MongoDbException
find
in interface MongoCollection
find
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document findAndModify(FindAndModify.Builder query) throws MongoDbException
findAndModify
in interface MongoCollection
findAndModify
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document findAndModify(FindAndModify query) throws MongoDbException
findAndModify
in interface MongoCollection
findAndModify
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Document> find(Find.Builder query) throws MongoDbException
find
in interface MongoCollection
find
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Document> find(Find query) throws MongoDbException
find
in interface MongoCollection
find
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document findOne(DocumentAssignable query) throws MongoDbException
findOne
in interface MongoCollection
findOne
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document findOne(Find.Builder query) throws MongoDbException
findOne
in interface MongoCollection
findOne
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Document findOne(Find query) throws MongoDbException
findOne
in interface MongoCollection
findOne
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Element> groupBy(GroupBy.Builder command) throws MongoDbException
groupBy
in interface MongoCollection
groupBy
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Element> groupBy(GroupBy command) throws MongoDbException
groupBy
in interface MongoCollection
groupBy
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public int insert(DocumentAssignable... documents) throws MongoDbException
insert
in interface MongoCollection
insert
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public int insert(Durability durability, DocumentAssignable[] documents) throws MongoDbException
insert
in interface MongoCollection
insert
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public int insert(boolean continueOnError, DocumentAssignable... documents) throws MongoDbException
insert
in interface MongoCollection
insert
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public int insert(boolean continueOnError, Durability durability, DocumentAssignable... documents) throws MongoDbException
insert
in interface MongoCollection
insert
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Document> mapReduce(MapReduce.Builder command) throws MongoDbException
mapReduce
in interface MongoCollection
mapReduce
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public MongoIterator<Document> mapReduce(MapReduce command) throws MongoDbException
mapReduce
in interface MongoCollection
mapReduce
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Collection<MongoIterator<Document>> parallelScan(ParallelScan.Builder command) throws MongoDbException
parallelScan
in interface MongoCollection
parallelScan
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public Collection<MongoIterator<Document>> parallelScan(ParallelScan command) throws MongoDbException
parallelScan
in interface MongoCollection
parallelScan
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public int save(DocumentAssignable query) throws MongoDbException
save
in interface MongoCollection
save
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public int save(DocumentAssignable query, Durability durability) throws MongoDbException
save
in interface MongoCollection
save
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable @Deprecated public MongoIterator<TextResult> textSearch(Text.Builder command) throws MongoDbException
textSearch
in interface MongoCollection
textSearch
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable @Deprecated public MongoIterator<TextResult> textSearch(Text command) throws MongoDbException
textSearch
in interface MongoCollection
textSearch
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long update(DocumentAssignable query, DocumentAssignable update) throws MongoDbException
update
in interface MongoCollection
update
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long update(DocumentAssignable query, DocumentAssignable update, boolean multiUpdate, boolean upsert) throws MongoDbException
update
in interface MongoCollection
update
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long update(DocumentAssignable query, DocumentAssignable update, boolean multiUpdate, boolean upsert, Durability durability) throws MongoDbException
update
in interface MongoCollection
update
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long update(DocumentAssignable query, DocumentAssignable update, Durability durability) throws MongoDbException
update
in interface MongoCollection
update
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long write(BatchedWrite query) throws MongoDbException
write
in interface MongoCollection
write
in class SynchronousMongoCollectionImpl
MongoDbException
@Suspendable public long write(BatchedWrite.Builder query) throws MongoDbException
write
in interface MongoCollection
write
in class SynchronousMongoCollectionImpl
MongoDbException
public ListenableFuture<MongoIterator<Document>> aggregateAsync(Aggregate.Builder command) throws MongoDbException
aggregateAsync
in interface AsyncMongoCollection
aggregateAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Document>> aggregateAsync(Aggregate command) throws MongoDbException
aggregateAsync
in interface AsyncMongoCollection
aggregateAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> countAsync() throws MongoDbException
countAsync
in interface AsyncMongoCollection
countAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> countAsync(Count.Builder builder) throws MongoDbException
countAsync
in interface AsyncMongoCollection
countAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> countAsync(Count query) throws MongoDbException
countAsync
in interface AsyncMongoCollection
countAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> countAsync(DocumentAssignable query) throws MongoDbException
countAsync
in interface AsyncMongoCollection
countAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> countAsync(DocumentAssignable query, ReadPreference readPreference) throws MongoDbException
countAsync
in interface AsyncMongoCollection
countAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> countAsync(ReadPreference readPreference) throws MongoDbException
countAsync
in interface AsyncMongoCollection
countAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> deleteAsync(DocumentAssignable query) throws MongoDbException
deleteAsync
in interface AsyncMongoCollection
deleteAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> deleteAsync(DocumentAssignable query, boolean singleDelete) throws MongoDbException
deleteAsync
in interface AsyncMongoCollection
deleteAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> deleteAsync(DocumentAssignable query, boolean singleDelete, Durability durability) throws MongoDbException
deleteAsync
in interface AsyncMongoCollection
deleteAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> deleteAsync(DocumentAssignable query, Durability durability) throws MongoDbException
deleteAsync
in interface AsyncMongoCollection
deleteAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Element>> distinctAsync(Distinct.Builder command) throws MongoDbException
distinctAsync
in interface AsyncMongoCollection
distinctAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Element>> distinctAsync(Distinct command) throws MongoDbException
distinctAsync
in interface AsyncMongoCollection
distinctAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Document> explainAsync(Aggregate.Builder query) throws MongoDbException
explainAsync
in interface AsyncMongoCollection
explainAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Document> explainAsync(Aggregate query) throws MongoDbException
explainAsync
in interface AsyncMongoCollection
explainAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Document> explainAsync(Find.Builder query) throws MongoDbException
explainAsync
in interface AsyncMongoCollection
explainAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Document> explainAsync(Find query) throws MongoDbException
explainAsync
in interface AsyncMongoCollection
explainAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Document>> findAsync(DocumentAssignable query) throws MongoDbException
findAsync
in interface AsyncMongoCollection
findAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Document>> findAsync(Find.Builder query) throws MongoDbException
findAsync
in interface AsyncMongoCollection
findAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Document>> findAsync(Find query) throws MongoDbException
findAsync
in interface AsyncMongoCollection
findAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Document> findAndModifyAsync(FindAndModify query) throws MongoDbException
findAndModifyAsync
in interface AsyncMongoCollection
findAndModifyAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Document> findAndModifyAsync(FindAndModify.Builder query) throws MongoDbException
findAndModifyAsync
in interface AsyncMongoCollection
findAndModifyAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Document> findOneAsync(DocumentAssignable query) throws MongoDbException
findOneAsync
in interface AsyncMongoCollection
findOneAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Document> findOneAsync(Find.Builder query) throws MongoDbException
findOneAsync
in interface AsyncMongoCollection
findOneAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Document> findOneAsync(Find query) throws MongoDbException
findOneAsync
in interface AsyncMongoCollection
findOneAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Element>> groupByAsync(GroupBy.Builder command) throws MongoDbException
groupByAsync
in interface AsyncMongoCollection
groupByAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Element>> groupByAsync(GroupBy command) throws MongoDbException
groupByAsync
in interface AsyncMongoCollection
groupByAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Integer> insertAsync(DocumentAssignable... documents) throws MongoDbException
insertAsync
in interface AsyncMongoCollection
insertAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Integer> insertAsync(Durability durability, DocumentAssignable... documents) throws MongoDbException
insertAsync
in interface AsyncMongoCollection
insertAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Integer> insertAsync(boolean continueOnError, DocumentAssignable... documents) throws MongoDbException
insertAsync
in interface AsyncMongoCollection
insertAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Integer> insertAsync(boolean continueOnError, Durability durability, DocumentAssignable... documents) throws MongoDbException
insertAsync
in interface AsyncMongoCollection
insertAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Document>> mapReduceAsync(MapReduce.Builder command) throws MongoDbException
mapReduceAsync
in interface AsyncMongoCollection
mapReduceAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<MongoIterator<Document>> mapReduceAsync(MapReduce command) throws MongoDbException
mapReduceAsync
in interface AsyncMongoCollection
mapReduceAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Collection<MongoIterator<Document>>> parallelScanAsync(ParallelScan.Builder command) throws MongoDbException
parallelScanAsync
in interface AsyncMongoCollection
parallelScanAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Collection<MongoIterator<Document>>> parallelScanAsync(ParallelScan command) throws MongoDbException
parallelScanAsync
in interface AsyncMongoCollection
parallelScanAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Integer> saveAsync(DocumentAssignable query) throws MongoDbException
saveAsync
in interface AsyncMongoCollection
saveAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Integer> saveAsync(DocumentAssignable query, Durability durability) throws MongoDbException
saveAsync
in interface AsyncMongoCollection
saveAsync
in class AbstractAsyncMongoCollection
MongoDbException
@Deprecated public ListenableFuture<MongoIterator<TextResult>> textSearchAsync(Text.Builder command) throws MongoDbException
textSearchAsync
in interface AsyncMongoCollection
textSearchAsync
in class AbstractAsyncMongoCollection
MongoDbException
@Deprecated public ListenableFuture<MongoIterator<TextResult>> textSearchAsync(Text command) throws MongoDbException
textSearchAsync
in interface AsyncMongoCollection
textSearchAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> updateAsync(DocumentAssignable query, DocumentAssignable update) throws MongoDbException
updateAsync
in interface AsyncMongoCollection
updateAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> updateAsync(DocumentAssignable query, DocumentAssignable update, boolean multiUpdate, boolean upsert) throws MongoDbException
updateAsync
in interface AsyncMongoCollection
updateAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> updateAsync(DocumentAssignable query, DocumentAssignable update, boolean multiUpdate, boolean upsert, Durability durability) throws MongoDbException
updateAsync
in interface AsyncMongoCollection
updateAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> updateAsync(DocumentAssignable query, DocumentAssignable update, Durability durability) throws MongoDbException
updateAsync
in interface AsyncMongoCollection
updateAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> writeAsync(BatchedWrite.Builder builder) throws MongoDbException
writeAsync
in interface AsyncMongoCollection
writeAsync
in class AbstractAsyncMongoCollection
MongoDbException
public ListenableFuture<Long> writeAsync(BatchedWrite query) throws MongoDbException
writeAsync
in interface AsyncMongoCollection
writeAsync
in class AbstractAsyncMongoCollection
MongoDbException