public class MongoCollectionImplTest extends Object
SynchronousMongoCollectionImpl
class.Constructor and Description |
---|
MongoCollectionImplTest() |
public void setUp()
public void tearDown()
public void testAggregate()
SynchronousMongoCollectionImpl.aggregate(Aggregate)
.public void testAggregateAsyncAggregate() throws Exception
AbstractAsyncMongoCollection.aggregateAsync(Aggregate)
.Exception
- On a failure.public void testAggregateAsyncCallbackOfListOfDocumentAggregate()
AbstractMongoOperations.aggregateAsync(Callback, Aggregate)
.public void testAggregateAsyncLambdaCallbackAggregate()
AbstractAsyncMongoCollection.aggregateAsync(LambdaCallback, Aggregate)
method.public void testAggregateAsyncLambdaCallbackAggregateBuilder()
AbstractAsyncMongoCollection.aggregateAsync(LambdaCallback, Aggregate.Builder)
method.public void testAggregateWithCursor() throws Exception
AbstractAsyncMongoCollection.aggregateAsync(Aggregate)
.Exception
- On a failure.public void testAggregateWithCursorBatchSizeAndAllowDisk() throws Exception
AbstractAsyncMongoCollection.aggregateAsync(Aggregate)
.Exception
- On a failure.public void testAggregateWithMaxTime() throws Exception
AbstractAsyncMongoCollection.aggregateAsync(Aggregate)
.Exception
- On a failure.public void testAggregateWithReadPreference()
AbstractMongoOperations.aggregateAsync(Callback, Aggregate)
.public void testAggregateWithReadPreferenceNonSharded()
AbstractMongoOperations.aggregateAsync(Callback, Aggregate)
.public void testCount()
SynchronousMongoCollectionImpl.count()
.public void testCountAsync()
AbstractAsyncMongoCollection.countAsync()
.public void testCountAsyncCallbackOfLong()
AbstractAsyncMongoCollection.countAsync(Callback)
.public void testCountAsyncCallbackOfLongDocument()
AbstractAsyncMongoCollection.countAsync(Callback, DocumentAssignable)
.public void testCountAsyncCallbackOfLongDocumentBoolean()
public void testCountAsyncCallbackOfLongReadPreference()
AbstractAsyncMongoCollection.countAsync(Callback, ReadPreference)
.public void testCountAsyncDocument()
AbstractAsyncMongoCollection.countAsync(DocumentAssignable)
.public void testCountAsyncDocumentBoolean() throws Exception
Exception
- On an errorpublic void testCountAsyncLambdaCallback()
AbstractAsyncMongoCollection.countAsync(LambdaCallback)
method.public void testCountAsyncLambdaCallbackCount()
AbstractAsyncMongoCollection.countAsync(LambdaCallback, Count)
method.public void testCountAsyncLambdaCallbackCountBuilder()
AbstractAsyncMongoCollection.countAsync(LambdaCallback, Count.Builder)
method.public void testCountAsyncLambdaCallbackDocumentAssignable()
AbstractAsyncMongoCollection.countAsync(LambdaCallback, DocumentAssignable)
method.public void testCountAsyncLambdaCallbackDocumentAssignableReadPreference()
public void testCountAsyncLambdaCallbackReadPreference()
AbstractAsyncMongoCollection.countAsync(LambdaCallback, ReadPreference)
method.public void testCountAsyncWithMaxTime() throws Exception
AbstractAsyncMongoCollection.countAsync(Count.Builder)
.Exception
- On an errorpublic void testCountAsyncWithOnlyReadPreference() throws Exception
AbstractAsyncMongoCollection.countAsync(ReadPreference)
.Exception
- On an errorpublic void testCountDocument()
SynchronousMongoCollectionImpl.count(DocumentAssignable)
.public void testCountDocumentBoolean()
SynchronousMongoCollectionImpl.count(DocumentAssignable, ReadPreference)
.public void testCountDocumentBooleanOnInterrupt()
SynchronousMongoCollectionImpl.count(DocumentAssignable, ReadPreference)
.public void testCountDocumentBooleanOnIOError()
SynchronousMongoCollectionImpl.count(DocumentAssignable, ReadPreference)
.public void testCountDocumentBooleanOnMongoError()
SynchronousMongoCollectionImpl.count(DocumentAssignable, ReadPreference)
.public void testCountWithOnlyReadPreference() throws Exception
SynchronousMongoCollectionImpl.count(ReadPreference)
.Exception
- On an errorpublic void testCountWithReadPreference() throws Exception
Exception
- On an errorpublic void testCountWithReadPreferenceNonSharded() throws Exception
Exception
- On an errorpublic void testCreateIndexLinkedHashMapOfStringInteger()
SynchronousMongoCollectionImpl.createIndex(Element...)
.public void testCreateIndexLinkedHashMapOfStringIntegerBoolean()
SynchronousMongoCollectionImpl.createIndex(boolean, Element...)
.public void testCreateIndexStringLinkedHashMapOfStringIntegerBoolean()
SynchronousMongoCollectionImpl.createIndex(String, boolean, Element...)
.public void testCreateIndexStringLinkedHashMapOfStringIntegerBooleanAlreadyExists()
SynchronousMongoCollectionImpl.createIndex(String, boolean, Element...)
.public void testCreateIndexStringLinkedHashMapOfStringIntegerBooleanAlreadyExistsEmptyName()
SynchronousMongoCollectionImpl.createIndex(String, boolean, Element...)
.public void testCreateIndexStringLinkedHashMapOfStringIntegerBooleanAlreadyExistsNullName()
SynchronousMongoCollectionImpl.createIndex(String, boolean, Element...)
.public void testCreateIndexWithOptions()
SynchronousMongoCollectionImpl.createIndex(boolean, Element...)
.public void testCreateIndexWithOptionsServer2_6()
SynchronousMongoCollectionImpl.createIndex(boolean, Element...)
.public void testCreateIndexWithUniqueFalse()
SynchronousMongoCollectionImpl.createIndex(boolean, Element...)
.public void testCreateIndexWithVersionFor2DShpere()
SynchronousMongoCollectionImpl.createIndex(String, boolean, Element...)
.public void testCreateIndexWithVersionForHashed()
SynchronousMongoCollectionImpl.createIndex(String, boolean, Element...)
.public void testCreateIndexWithVersionForText()
SynchronousMongoCollectionImpl.createIndex(String, boolean, Element...)
.public void testDeleteAsyncCallbackOfLongDocument()
AbstractAsyncMongoCollection.deleteAsync(Callback, DocumentAssignable)
.public void testDeleteAsyncCallbackOfLongDocumentBoolean()
public void testDeleteAsyncCallbackOfLongDocumentBooleanDurability()
public void testDeleteAsyncCallbackOfLongDocumentBooleanDurabilityWith2_6WriteCommand()
public void testDeleteAsyncCallbackOfLongDocumentDurability()
public void testDeleteAsyncDocument() throws Exception
AbstractAsyncMongoCollection.deleteAsync(DocumentAssignable)
.Exception
- On an error.public void testDeleteAsyncDocumentBoolean() throws Exception
AbstractAsyncMongoCollection.deleteAsync(DocumentAssignable, boolean)
.Exception
- On an error.public void testDeleteAsyncDocumentBooleanDurability() throws Exception
Exception
- On an error.public void testDeleteAsyncDocumentDurability() throws Exception
AbstractAsyncMongoCollection.deleteAsync(DocumentAssignable, Durability)
.Exception
- On an error.public void testDeleteAsyncLambdaCallbackDocumentAssignable()
AbstractAsyncMongoCollection.deleteAsync(LambdaCallback, DocumentAssignable)
method.public void testDeleteAsyncLambdaCallbackDocumentAssignableB()
public void testDeleteAsyncLambdaCallbackDocumentAssignableBDurability()
public void testDeleteAsyncLambdaCallbackDocumentAssignableDurability()
public void testDeleteDocument()
SynchronousMongoCollectionImpl.delete(DocumentAssignable)
.public void testDeleteDocumentBoolean()
SynchronousMongoCollectionImpl.delete(DocumentAssignable, boolean)
.public void testDeleteDocumentBooleanDurability()
public void testDeleteDocumentDurabilityAck()
SynchronousMongoCollectionImpl.delete(DocumentAssignable, Durability)
.public void testDeleteDocumentDurabilityNone()
SynchronousMongoCollectionImpl.delete(DocumentAssignable, Durability)
.public void testDistinct()
SynchronousMongoCollectionImpl.distinct(Distinct)
.public void testDistinctAsyncCallbackDistinct()
AbstractMongoOperations.distinctAsync(Callback, Distinct)
.public void testDistinctAsyncDistinct() throws Exception
AbstractAsyncMongoCollection.distinctAsync(Distinct)
.Exception
- On a failure.public void testDistinctAsyncLambdaCallbackDistinct()
AbstractAsyncMongoCollection.distinctAsync(LambdaCallback, Distinct)
method.public void testDistinctAsyncLambdaCallbackDistinctBuilder()
AbstractAsyncMongoCollection.distinctAsync(LambdaCallback, Distinct.Builder)
method.public void testDistinctAsyncNoQuery()
AbstractMongoOperations.distinctAsync(Callback, Distinct)
.public void testDistinctWithMaxTime() throws Exception
AbstractAsyncMongoCollection.distinctAsync(Distinct)
.Exception
- On a failure.public void testDistinctWithReadPreference()
AbstractMongoOperations.distinctAsync(Callback, Distinct)
.public void testDistinctWithReadPreferenceNonSharded()
AbstractMongoOperations.distinctAsync(Callback, Distinct)
.public void testDrop()
SynchronousMongoCollectionImpl.drop()
.public void testDropIndex()
SynchronousMongoCollectionImpl.dropIndex(String)
.public void testExists()
MongoDatabaseImpl.exists()
.public void testExplainAggregate()
SynchronousMongoCollectionImpl.explain(Aggregate)
.public void testExplainAggregateAsync() throws Exception
AbstractAsyncMongoCollection.explainAsync(Aggregate)
.Exception
- On a failure.public void testExplainAggregateAsyncCallback()
AbstractMongoOperations.explainAsync(Callback, Aggregate)
.public void testExplainAsyncFind() throws Exception
AbstractAsyncMongoCollection.explainAsync(Find)
.Exception
- On an error.public void testExplainAsyncLambdaCallbackAggregate()
AbstractAsyncMongoCollection.explainAsync(LambdaCallback, Aggregate)
method.public void testExplainAsyncLambdaCallbackAggregateBuilder()
AbstractAsyncMongoCollection.explainAsync(LambdaCallback, Aggregate.Builder)
method.public void testExplainAsyncLambdaCallbackFind()
AbstractAsyncMongoCollection.explainAsync(LambdaCallback, Find)
method.public void testExplainAsyncLambdaCallbackFindBuilder()
AbstractAsyncMongoCollection.explainAsync(LambdaCallback, Find.Builder)
method.public void testExplainDocument()
SynchronousMongoCollectionImpl.explain(DocumentAssignable)
.public void testExplainFind() throws Exception
SynchronousMongoCollectionImpl.explain(Find)
.Exception
- On an error.public void testExplainWithNonLegacyOptions() throws Exception
AbstractMongoOperations.explainAsync(Callback, Find)
.Exception
- On an error.public void testExplainWithNonLegacyOptionsAndNonShardedAndCallback() throws Exception
AbstractMongoOperations.explainAsync(Callback, Find)
.Exception
- On an error.public void testFindAndModify()
SynchronousMongoCollectionImpl.findAndModify(FindAndModify)
.public void testFindAndModifyAsRemove()
SynchronousMongoCollectionImpl.findAndModify(FindAndModify)
.public void testFindAndModifyAsyncCallbackOfDocumentFindAndModify()
AbstractMongoOperations.findAndModifyAsync(Callback, FindAndModify)
.public void testFindAndModifyAsyncFindAndModify() throws Exception
AbstractAsyncMongoCollection.findAndModifyAsync(FindAndModify)
.Exception
- On a failure.public void testFindAndModifyAsyncLambdaCallbackFindAndModify()
AbstractAsyncMongoCollection.findAndModifyAsync(LambdaCallback, FindAndModify)
method.public void testFindAndModifyAsyncLambdaCallbackFindAndModifyBuilder()
public void testFindAndModifyWithFields()
SynchronousMongoCollectionImpl.findAndModify(FindAndModify)
.public void testFindAndModifyWithMaxTime()
SynchronousMongoCollectionImpl.findAndModify(FindAndModify)
.public void testFindAndModifyWithNew()
SynchronousMongoCollectionImpl.findAndModify(FindAndModify)
.public void testFindAndModifyWithSort()
SynchronousMongoCollectionImpl.findAndModify(FindAndModify)
.public void testFindAndModifyWithUpsert()
SynchronousMongoCollectionImpl.findAndModify(FindAndModify)
.public void testFindAsyncCallbackDocument()
AbstractAsyncMongoCollection.findAsync(Callback, DocumentAssignable)
.public void testFindAsyncCallbackFind()
AbstractMongoOperations.findAsync(Callback, Find)
.public void testFindAsyncDocument() throws Exception
AbstractAsyncMongoCollection.findAsync(DocumentAssignable)
.Exception
- On an error.public void testFindAsyncFind() throws Exception
AbstractAsyncMongoCollection.findAsync(Find)
.Exception
- On an error.public void testFindAsyncFindTailable() throws Exception
AbstractAsyncMongoCollection.findAsync(Find)
.Exception
- On an error.public void testFindAsyncLambdaCallbackDocumentAssignable()
AbstractAsyncMongoCollection.findAsync(LambdaCallback, DocumentAssignable)
method.public void testFindAsyncLambdaCallbackFind()
AbstractAsyncMongoCollection.findAsync(LambdaCallback, Find)
method.public void testFindAsyncLambdaCallbackFindBuilder()
AbstractAsyncMongoCollection.findAsync(LambdaCallback, Find.Builder)
method.public void testFindDocument()
SynchronousMongoCollectionImpl.find(DocumentAssignable)
.public void testFindDocumentBoolean()
SynchronousMongoCollectionImpl.find(Find)
.public void testFindOne()
SynchronousMongoCollectionImpl.findOne(DocumentAssignable)
.public void testFindOneAsyncCallbackFind()
AbstractMongoOperations.findOneAsync(Callback, Find)
.public void testFindOneAsyncCallbackOfDocumentDocument()
AbstractAsyncMongoCollection.findOneAsync(Callback, DocumentAssignable)
.public void testFindOneAsyncDocument() throws Exception
AbstractAsyncMongoCollection.findOneAsync(DocumentAssignable)
.Exception
- On an error.public void testFindOneAsyncFind() throws Exception
AbstractAsyncMongoCollection.findOneAsync(Find)
.Exception
- On an error.public void testFindOneAsyncLambdaCallbackDocumentAssignable()
AbstractAsyncMongoCollection.findAsync(LambdaCallback, DocumentAssignable)
method.public void testFindOneAsyncLambdaCallbackFind()
AbstractAsyncMongoCollection.findAsync(LambdaCallback, Find)
method.public void testFindOneAsyncLambdaCallbackFindBuilder()
AbstractAsyncMongoCollection.findAsync(LambdaCallback, Find.Builder)
method.public void testFindOneNonLegacyOptions()
SynchronousMongoCollectionImpl.findOne(DocumentAssignable)
.public void testFindOneNonSharded()
SynchronousMongoCollectionImpl.findOne(DocumentAssignable)
.public void testFindOneWithAllOptions() throws Exception
SynchronousMongoCollectionImpl.findOne(Find)
.Exception
- On an error.public void testFindOneWithAllOptionsNonSharded() throws Exception
AbstractAsyncMongoCollection.findAsync(Find)
.Exception
- On an error.public void testFindOneWithNonLegacyOptionsAndNonSharded() throws Exception
AbstractAsyncMongoCollection.findOneAsync(Find)
Exception
- On an error.public void testFindWithAllOptions() throws Exception
AbstractMongoOperations.findAndModifyAsync(Callback, FindAndModify)
.Exception
- On an error.public void testFindWithAllOptionsNonSharded() throws Exception
AbstractAsyncMongoCollection.findAsync(Find)
.Exception
- On an error.public void testFindWithNonLegacyOptionsAndNonSharded() throws Exception
AbstractAsyncMongoCollection.findOneAsync(Find)
Exception
- On an error.public void testGetDatabaseName()
AbstractMongoOperations.getDatabaseName()
.public void testGetDurabilityFromDatabase()
AbstractMongoOperations.getDurability()
.public void testGetDurabilitySet()
AbstractMongoOperations.getDurability()
.public void testGetName()
AbstractMongoOperations.getName()
.public void testGetReadPreferenceFromDatabase()
AbstractMongoOperations.getReadPreference()
.public void testGetReadPreferenceSet()
AbstractMongoOperations.getReadPreference()
.public void testGroupBy()
SynchronousMongoCollectionImpl.groupBy(GroupBy)
.public void testGroupByAsyncCallbackGroupBy()
AbstractMongoOperations.groupByAsync(Callback, GroupBy)
.public void testGroupByAsyncGroupBy() throws Exception
AbstractAsyncMongoCollection.groupByAsync(GroupBy)
.Exception
- On a failure.public void testGroupByAsyncLambdaCallbackGroupBy()
AbstractAsyncMongoCollection.groupByAsync(LambdaCallback, GroupBy)
method.public void testGroupByAsyncLambdaCallbackGroupByBuilder()
AbstractAsyncMongoCollection.groupByAsync(LambdaCallback, GroupBy.Builder)
method.public void testGroupByAsyncWithAllOptions()
AbstractMongoOperations.groupByAsync(Callback, GroupBy)
.public void testGroupByWithReadPreference()
AbstractMongoOperations.groupByAsync(Callback, GroupBy)
.public void testGroupByWithReadPreferenceNonSharded()
AbstractMongoOperations.groupByAsync(Callback, GroupBy)
.public void testInsertAsyncBooleanDocumentArray() throws Exception
AbstractAsyncMongoCollection.insertAsync(boolean, DocumentAssignable...)
.Exception
- On an error.public void testInsertAsyncBooleanDurabilityDocumentArray() throws Exception
AbstractAsyncMongoCollection.insertAsync(boolean, Durability, DocumentAssignable...)
.Exception
- On an error.public void testInsertAsyncCallbackOfIntegerBooleanDocumentArray()
public void testInsertAsyncCallbackOfIntegerBooleanDurabilityDocumentArray()
public void testInsertAsyncCallbackOfIntegerDocumentArray()
public void testInsertAsyncCallbackOfIntegerDurabilityDocumentArray()
public void testInsertAsyncDocumentArray() throws Exception
AbstractAsyncMongoCollection.insertAsync(DocumentAssignable...)
.Exception
- On an error.public void testInsertAsyncDocumentArrayAck() throws Exception
AbstractAsyncMongoCollection.insertAsync(DocumentAssignable...)
.Exception
- On an error.public void testInsertAsyncDurabilityDocumentArray() throws Exception
Exception
- On an error.public void testInsertAsyncLambdaCallbackBDocumentAssignable()
public void testInsertAsyncLambdaCallbackBDurabilityDocumentAssignable()
public void testInsertAsyncLambdaCallbackDocumentAssignable()
AbstractAsyncMongoCollection.insertAsync(LambdaCallback, DocumentAssignable[])
method.public void testInsertAsyncLambdaCallbackDurabilityDocumentAssignable()
public void testInsertBooleanDocumentArray()
SynchronousMongoCollectionImpl.insert(boolean, DocumentAssignable...)
.public void testInsertBooleanDurabilityDocumentArray()
public void testInsertCannotInjectId()
SynchronousMongoCollectionImpl.insert(Durability, DocumentAssignable...)
.public void testInsertDocumentArray()
SynchronousMongoCollectionImpl.insert(DocumentAssignable...)
.public void testInsertDocumentArrayWith2_6WriteCommand()
SynchronousMongoCollectionImpl.insert(DocumentAssignable...)
.public void testInsertDurabilityDocumentArray()
SynchronousMongoCollectionImpl.insert(Durability, DocumentAssignable...)
.public void testIsCapped()
MongoCollection.isCapped()
.public void testMapReduce()
SynchronousMongoCollectionImpl.mapReduce(MapReduce)
.public void testMapReduceAsyncCallbackOfListOfDocumentMapReduce()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testMapReduceAsyncLambdaCallbackMapReduce()
AbstractAsyncMongoCollection.mapReduceAsync(LambdaCallback, MapReduce)
method.public void testMapReduceAsyncLambdaCallbackMapReduceBuilder()
AbstractAsyncMongoCollection.mapReduceAsync(LambdaCallback, MapReduce.Builder)
method.public void testMapReduceAsyncMapReduce() throws Exception
AbstractAsyncMongoCollection.mapReduceAsync(MapReduce)
.Exception
- On a failure.public void testMapReduceAsyncWithAllOptions()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testMapReduceAsyncWithOutputMerge()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testMapReduceAsyncWithOutputMergeAndDB()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testMapReduceAsyncWithOutputReduce()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testMapReduceAsyncWithOutputReduceAndDB()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testMapReduceAsyncWithOutputReplace()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testMapReduceAsyncWithOutputReplaceAndDB()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testMapReduceAsyncWithReadPreference()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testMapReduceAsyncWithReadPreferenceNotSharded()
AbstractMongoOperations.mapReduceAsync(Callback, MapReduce)
.public void testParallelScan()
SynchronousMongoCollectionImpl.parallelScan(ParallelScan)
.public void testParallelScanAsync()
AbstractMongoOperations.parallelScanAsync(Callback,ParallelScan)
.public void testParallelScanAsyncFuture() throws Exception
AbstractAsyncMongoCollection.parallelScanAsync(ParallelScan)
.Exception
- On a test error.public void testSaveAsyncCallbackOfIntegerDocumentAssignable()
AbstractAsyncMongoCollection.saveAsync(Callback, DocumentAssignable)
.public void testSaveAsyncCallbackOfIntegerDocumentAssignableDurability()
public void testSaveAsyncDocumentAssignable() throws Exception
AbstractAsyncMongoCollection.saveAsync(DocumentAssignable)
.Exception
- On an error.public void testSaveAsyncDocumentAssignableDurability() throws Exception
AbstractAsyncMongoCollection.saveAsync(DocumentAssignable,Durability)
.Exception
- On an error.public void testSaveAsyncLambdaCallbackDocumentAssignable()
AbstractAsyncMongoCollection.saveAsync(LambdaCallback, DocumentAssignable)
method.public void testSaveAsyncLambdaCallbackDocumentAssignableDurability()
public void testSaveDocumentAssignable()
SynchronousMongoCollectionImpl.save(DocumentAssignable)
.public void testSaveDocumentAssignableDurability()
SynchronousMongoCollectionImpl.save(DocumentAssignable, Durability)
.public void testStats()
MongoCollection.stats()
.public void testStreamFindWithNonLegacyOptionsAndNonSharded() throws Exception
AbstractAsyncMongoCollection.streamingFind(Callback, Find)
.Exception
- On an error.@Deprecated public void testStreamingFindDocument()
AbstractAsyncMongoCollection.streamingFind(Callback,DocumentAssignable)
.@Deprecated public void testStreamingFindFind()
AbstractAsyncMongoCollection.streamingFind(Callback,Find)
.public void testStreamingFindLambdaCallbackDocumentAssignable()
AbstractAsyncMongoCollection.streamingFind(LambdaCallback, DocumentAssignable)
method.public void testStreamingFindStreamCallbackDocument()
@Deprecated public void testStreamingFindWithAllOptions() throws Exception
AbstractAsyncMongoCollection.streamingFind(Callback, Find)
.Exception
- On an error.@Deprecated public void testStreamingFindWithAllOptionsNonSharded() throws Exception
AbstractAsyncMongoCollection.streamingFind(Callback, Find)
.Exception
- On an error.public void testStreamLambdaCallbackAggregate()
AbstractAsyncMongoCollection.stream(LambdaCallback, Aggregate)
method.public void testStreamLambdaCallbackAggregateBuilder()
AbstractAsyncMongoCollection.stream(LambdaCallback, Aggregate.Builder)
method.public void testStreamLambdaCallbackFind()
AbstractAsyncMongoCollection.stream(LambdaCallback, Find.Builder)
method.public void testStreamLambdaCallbackFindBuilder()
AbstractAsyncMongoCollection.stream(LambdaCallback, Find.Builder)
method.public void testStreamStreamCallbackAggregate()
AbstractMongoOperations.stream(StreamCallback, Aggregate)
method.public void testStreamStreamCallbackAggregateBuilder()
AbstractAsyncMongoCollection.stream(StreamCallback, Aggregate.Builder)
method.public void testStreamStreamCallbackFind()
AbstractMongoOperations.stream(StreamCallback,Find)
.public void testStreamStreamCallbackFindBuilder()
AbstractMongoOperations.stream(StreamCallback, Find)
method.public void testStreamStreamCallbackFindWithAllOptions() throws Exception
AbstractAsyncMongoCollection.streamingFind(StreamCallback, Find)
.Exception
- On an error.public void testStreamStreamCallbackWithAllOptionsNonSharded() throws Exception
AbstractAsyncMongoCollection.streamingFind(StreamCallback, Find)
.Exception
- On an error.@Deprecated public void testTextSearchFull()
text
command was deprecated in the
2.6 version of MongoDB. Use the
$text
query operator
instead. This test will not be removed until two releases
after the MongoDB 2.6 release (e.g. 2.10 if the releases are
2.8 and 2.10).@Deprecated public void testTextSearchMinimal()
text
command was deprecated in the
2.6 version of MongoDB. Use the
$text
query operator
instead. This test will not be removed until two releases
after the MongoDB 2.6 release (e.g. 2.10 if the releases are
2.8 and 2.10).public void testUpdateAsyncCallbackOfLongDocumentDocument()
public void testUpdateAsyncCallbackOfLongDocumentDocumentBooleanBoolean()
public void testUpdateAsyncCallbackOfLongDocumentDocumentBooleanBooleanDurability()
public void testUpdateAsyncCallbackOfLongDocumentDocumentDurability()
public void testUpdateAsyncDocumentDocumentBooleanBoolean() throws Exception
AbstractAsyncMongoCollection.updateAsync(DocumentAssignable, DocumentAssignable, boolean, boolean)
.Exception
- On an error.public void testUpdateAsyncDocumentDocumentBooleanBooleanDurability() throws Exception
AbstractAsyncMongoCollection.updateAsync(DocumentAssignable, DocumentAssignable, boolean, boolean, Durability)
.Exception
- On an error.public void testUpdateAsyncDocumentDocumentBooleanBooleanUsingWriteCommandWith2_6WriteCommand() throws Exception
AbstractAsyncMongoCollection.updateAsync(DocumentAssignable, DocumentAssignable, boolean, boolean)
.Exception
- On an error.public void testUpdateAsyncDocumentDocumentDurability() throws Exception
AbstractAsyncMongoCollection.updateAsync(DocumentAssignable, DocumentAssignable, Durability)
.Exception
- On an error.public void testUpdateAsyncDocumentDocumentWithDurabilityAck() throws Exception
Exception
- On an error.public void testUpdateAsyncDocumentDocumentWithDurabilityNone() throws Exception
Exception
- On an error.public void testUpdateAsyncLambdaCallbackDocumentAssignableDocumentAssignable()
public void testUpdateAsyncLambdaCallbackDocumentAssignableDocumentAssignableBB()
public void testUpdateAsyncLambdaCallbackDocumentAssignableDocumentAssignableBBDurability()
public void testUpdateAsyncLambdaCallbackDocumentAssignableDocumentAssignableDurability()
public void testUpdateDocumentDocument()
public void testUpdateDocumentDocumentBooleanBoolean()
public void testUpdateDocumentDocumentBooleanBooleanDurability()
public void testUpdateDocumentDocumentDurability()
public void testUpdateOptions()
SynchronousMongoCollectionImpl.updateOptions(DocumentAssignable)
.public void testValidate()
SynchronousMongoCollectionImpl.validate(MongoCollection.ValidateMode)
.public void testWriteAsyncBatchedWrite()
AbstractMongoOperations.writeAsync(Callback, BatchedWrite)
.public void testWriteAsyncBatchedWriteBefore26()
AbstractMongoOperations.writeAsync(Callback, BatchedWrite)
.public void testWriteAsyncBatchedWriteBefore26NoOps()
AbstractMongoOperations.writeAsync(Callback, BatchedWrite)
.public void testWriteAsyncBatchedWriteNoOps()
AbstractMongoOperations.writeAsync(Callback, BatchedWrite)
.public void testWriteBatchedWriteAsyncFutureNoOps() throws Exception
SynchronousMongoCollectionImpl.write(BatchedWrite)
.Exception
- On a test failure.public void testWriteBatchedWriteNoOps()
SynchronousMongoCollectionImpl.write(BatchedWrite)
.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.