public class MongoCodecTest
extends java.lang.Object
| Constructor and Description |
|---|
MongoCodecTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
void |
setup() |
void |
teardown() |
void |
testCreateAndFindObjects_Containment()
Test creation of objects and returning results
|
void |
testCreateAndFindObjects_ContainmentMany()
Test creation of objects and returning results
|
void |
testCreateAndFindObjects_ContainmentManyMore()
Test creation of objects and returning results
size: 1000000
batch: 5000
performance:
write 30 entries/ms
read 60 entries/ms
Insert of 1000000 persons with batchSize=5000 took 32366 ms
Finding all persons with a size 1000000 took 2 ms
Iterating over all persons and mapping with a batch size 5000 took 16782 ms
size: 1000000
batch: 10000
performance:
write 32 entries/ms
read 64 entries/ms
Insert of 1000000 persons with batchSize=10000 took 30612 ms
Finding all persons with a size 1000000 took 1 ms
Iterating over all persons and mapping with a batch size 10000 took 15498 ms
size: 1000000
batch: 25000
performance:
write 31 entries/ms
read 64 entries/ms
Insert of 1000000 persons with batchSize=25000 took 31480 ms
Finding all persons with a size 1000000 took 2 ms
Iterating over all persons and mapping with a batch size 25000 took 15592 ms
|
void |
testCreateAndFindObjects_Maps()
Test creation of objects and returning results using modelled Maps
|
void |
testCreateAndFindObjects_NonContainment()
Test creation of objects
|
void |
testCreateAndFindWithoutOptionsMap()
Test creation of objects and returning results
|
void |
testCreateObjects_Containment()
Test creation of objects
|
void |
testCreateObjects_NonContainment()
Test creation of objects
|
void |
testEClassUrisInContainmentsFalse()
Test creation of objects and returning results with checking that only eClassUris are written for Objects inhering from the referenced type
|
void |
testEClassUrisInContainmentsFalseFailing()
Test creation of objects and returning results with checking that only eClassUris are written for Objects inhering from the referenced type
|
void |
testEClassUrisInContainmentsFalseProxy()
Test creation of objects and returning results
|
void |
testEClassUrisInContainmentsTrue()
Test creation of objects and returning results
|
void |
testEClassUrisInContainmentsTrueProxy()
Test creation of objects and returning results
|
void |
testTimestampInContainement()
Test creation of objects and returning results
|
public void setup()
public void teardown()
public void testCreateAndFindObjects_Maps()
public void testCreateObjects_Containment()
public void testCreateObjects_NonContainment()
public void testCreateAndFindObjects_NonContainment()
public void testCreateAndFindObjects_Containment()
public void testCreateAndFindWithoutOptionsMap()
public void testTimestampInContainement()
public void testEClassUrisInContainmentsFalse()
public void testEClassUrisInContainmentsFalseFailing()
public void testEClassUrisInContainmentsTrue()
public void testEClassUrisInContainmentsFalseProxy()
public void testEClassUrisInContainmentsTrueProxy()
public void testCreateAndFindObjects_ContainmentMany()
public void testCreateAndFindObjects_ContainmentManyMore()
public static void main(java.lang.String[] args)
Data In Motion Consulting