- checkout(String) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
-
- checkout(long) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
-
- checkout(String) - Method in interface de.fhg.igd.mongomvcc.VDatabase
-
Checks out a named branch from the database
- checkout(long) - Method in interface de.fhg.igd.mongomvcc.VDatabase
-
Checks out an unnamed branch from the database
- CID - Static variable in class de.fhg.igd.mongomvcc.impl.internal.MongoDBConstants
-
A commit ID
- clear() - Method in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
-
- clear() - Method in interface de.fhg.igd.mongomvcc.helper.IdCollection
-
Removes all elements from this set
- clearArray(long[]) - Method in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
-
- clearArray(long[]) - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
-
- clearDirtyObjects() - Method in class de.fhg.igd.mongomvcc.impl.internal.Index
-
Clears the map of dirty objects and the map of deleted OIDs
- COLLECTION_BRANCHES - Static variable in class de.fhg.igd.mongomvcc.impl.internal.MongoDBConstants
-
The name of the collection containing branches
- COLLECTION_COMMITS - Static variable in class de.fhg.igd.mongomvcc.impl.internal.MongoDBConstants
-
The name of the collection containing commits
- Commit - Class in de.fhg.igd.mongomvcc.impl.internal
-
A commit has a CID and stores references to added/changed database objects
- Commit(long, long, long, Map<String, IdMap>) - Constructor for class de.fhg.igd.mongomvcc.impl.internal.Commit
-
Constructs a new commit.
- Commit(long, long, long, long, Map<String, IdMap>) - Constructor for class de.fhg.igd.mongomvcc.impl.internal.Commit
-
Constructs a new commit
- commit() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
-
- commit() - Method in interface de.fhg.igd.mongomvcc.VBranch
-
Commit objects that have been added or changed in this branch
to the database
- CompatibilityHelper - Class in de.fhg.igd.mongomvcc.impl.internal
-
Helps to keep the library compatible to multiple MongoDB versions
- connect(String) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
-
- connect(String, int) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
-
- connect(String, String, int) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
-
- connect(String) - Method in interface de.fhg.igd.mongomvcc.VDatabase
-
Connect to a database
- connect(String, int) - Method in interface de.fhg.igd.mongomvcc.VDatabase
-
Connect to a database
- connect(String, String, int) - Method in interface de.fhg.igd.mongomvcc.VDatabase
-
Connect to a database running on a given host and port
- connectToReplicaSet(String, List<ServerAddress>, ReadPreference) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
-
Connect to a replica set.
- contains(long) - Method in class de.fhg.igd.mongomvcc.helper.IdHashSet
-
- contains(long) - Method in interface de.fhg.igd.mongomvcc.helper.IdSet
-
Checks if the set contains a given value
- containsKey(long) - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
-
- containsKey(long) - Method in interface de.fhg.igd.mongomvcc.helper.IdMap
-
Checks if the map contains a given key
- containsOID(String, long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Index
-
Checks if the index contains an object with the given OID
- convert(Object) - Method in interface de.fhg.igd.mongomvcc.impl.ConvertStrategy
-
Convert the given data to a binary object and return the
replacement OID
- convert(long) - Method in interface de.fhg.igd.mongomvcc.impl.ConvertStrategy
-
Load the binary data with the given OID and convert it back to
an object
- convert(Object) - Method in class de.fhg.igd.mongomvcc.impl.DefaultConvertStrategy
-
- convert(long) - Method in class de.fhg.igd.mongomvcc.impl.DefaultConvertStrategy
-
- ConvertStrategy - Interface in de.fhg.igd.mongomvcc.impl
-
A strategy to convert binary data in large objects
- createBranch(String, long) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
-
- createBranch(String, long) - Method in interface de.fhg.igd.mongomvcc.VDatabase
-
Creates a new named branch whose head is set to the given CID
- createCursor(DBCursor, Filter<DBObject>) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
-
Creates a new cursor.
- createCursor(DBCursor, Filter<DBObject>) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVLargeCollection
-
- createDatabase() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVFactory
-
- createDatabase() - Method in interface de.fhg.igd.mongomvcc.VFactory
-
- createDocument() - Method in class de.fhg.igd.mongomvcc.AbstractVFactory
-
- createDocument(String, Object) - Method in class de.fhg.igd.mongomvcc.AbstractVFactory
-
- createDocument() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVFactory
-
- createDocument(String, Object) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVFactory
-
- createDocument() - Method in interface de.fhg.igd.mongomvcc.VFactory
-
- createDocument(String, Object) - Method in interface de.fhg.igd.mongomvcc.VFactory
-
Convenience method to create a new document with exactly one element
- createList() - Method in class de.fhg.igd.mongomvcc.AbstractVFactory
-
- createList() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVFactory
-
- createList() - Method in interface de.fhg.igd.mongomvcc.VFactory
-
- ID - Static variable in class de.fhg.igd.mongomvcc.impl.internal.MongoDBConstants
-
The unique ID of each document
- IdCollection - Interface in de.fhg.igd.mongomvcc.helper
-
A collection containing IDs
- IdHashMap - Class in de.fhg.igd.mongomvcc.helper
-
Provides an implementation of
IdMap
based on a hash table.
- IdHashMap() - Constructor for class de.fhg.igd.mongomvcc.helper.IdHashMap
-
Constructs a new map with the default number of
expected elements (DEFAULT_EXPECTED_SIZE) and
the default load factor (DEFAULT_LOAD_FACTOR)
- IdHashMap(int) - Constructor for class de.fhg.igd.mongomvcc.helper.IdHashMap
-
Constructs a new map with the given number of
expected elements and the default load
factor (DEFAULT_LOAD_FACTOR)
- IdHashMap(int, float) - Constructor for class de.fhg.igd.mongomvcc.helper.IdHashMap
-
Constructs a new map with the given number of
expected elements and load factor
- IdHashSet - Class in de.fhg.igd.mongomvcc.helper
-
Provides an implementation of
IdSet
based on a hash table.
- IdHashSet() - Constructor for class de.fhg.igd.mongomvcc.helper.IdHashSet
-
Constructs a new set with the default number of
expected elements (DEFAULT_EXPECTED_SIZE) and
the default load factor (DEFAULT_LOAD_FACTOR)
- IdHashSet(int) - Constructor for class de.fhg.igd.mongomvcc.helper.IdHashSet
-
Constructs a new set with the given number of
expected elements and the default load
factor (DEFAULT_LOAD_FACTOR)
- IdHashSet(int, float) - Constructor for class de.fhg.igd.mongomvcc.helper.IdHashSet
-
Constructs a new set with the given number of
expected elements and load factor
- IdMap - Interface in de.fhg.igd.mongomvcc.helper
-
Maps from IDs to IDs
- IdMapIterator - Interface in de.fhg.igd.mongomvcc.helper
-
Can be used to iterate through
IdMap
s
- IdSet - Interface in de.fhg.igd.mongomvcc.helper
-
A set of long values
- IdSetIterator - Interface in de.fhg.igd.mongomvcc.helper
-
Can be used to iterate through
IdSet
s
- IN - Static variable in class de.fhg.igd.mongomvcc.VOperations
-
Property within a list of values
- Index - Class in de.fhg.igd.mongomvcc.impl.internal
-
Provides access to the branch/commit currently checked out.
- Index(Commit, Tree) - Constructor for class de.fhg.igd.mongomvcc.impl.internal.Index
-
Construct a new index.
- insert(String, long, long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Index
-
Inserts a new object into the index and marks it as dirty
- insert(Map<String, Object>) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
-
- insert(Map<String, Object>) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVLargeCollection
-
- insert(Map<String, Object>) - Method in interface de.fhg.igd.mongomvcc.VCollection
-
Inserts a new object to the collection.
- isEmpty() - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
-
- iterator() - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
-
- iterator() - Method in class de.fhg.igd.mongomvcc.helper.IdHashSet
-
- iterator() - Method in interface de.fhg.igd.mongomvcc.helper.IdMap
-
- iterator() - Method in interface de.fhg.igd.mongomvcc.helper.IdSet
-
- iterator() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCursor
-
- main(String[]) - Static method in class de.fhg.igd.mongomvcc.helper.Primes
-
This method has been used to calculate the array of prime numbers.
- makeTable(int) - Method in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
-
Creates a new, cleared hash table with the given capacity
- makeTable(int) - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
-
- MASTER - Static variable in class de.fhg.igd.mongomvcc.VConstants
-
The name of the master branch
- MINIMUM_CAPACITY - Static variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
-
The hash table's minimum capacity
- MongoDBConstants - Class in de.fhg.igd.mongomvcc.impl.internal
-
Constants for the MongoDB database implementation
- MongoDBVBranch - Class in de.fhg.igd.mongomvcc.impl
-
Implementation of
VBranch
for MongoDB.
- MongoDBVBranch(String, long, Tree, MongoDBVDatabase) - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
-
Constructs a new branch object (not the branch itself)
- MongoDBVCollection - Class in de.fhg.igd.mongomvcc.impl
-
- MongoDBVCollection(DBCollection, MongoDBVBranch, VCounter) - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
-
Creates a new MongoDBVCollection.
- MongoDBVCounter - Class in de.fhg.igd.mongomvcc.impl
-
- MongoDBVCounter(DB) - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVCounter
-
Default constructor
- MongoDBVCursor - Class in de.fhg.igd.mongomvcc.impl
-
Implementation of
VCursor
for MongoDB
- MongoDBVCursor(DBCursor) - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVCursor
-
Constructs a new cursor (without a filter)
- MongoDBVCursor(DBCursor, Filter<DBObject>) - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVCursor
-
Constructs a new cursor
- MongoDBVDatabase - Class in de.fhg.igd.mongomvcc.impl
-
MongoDB implementation of a Multiversion Concurrency Control database.
- MongoDBVDatabase() - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
-
- MongoDBVFactory - Class in de.fhg.igd.mongomvcc.impl
-
Creates MongoDB implementation-specific objects of the MVCC model
- MongoDBVFactory() - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVFactory
-
- MongoDBVLargeCollection - Class in de.fhg.igd.mongomvcc.impl
-
Saves primitive byte arrays and InputStream
s in MongoDB's
GridFS
.
- MongoDBVLargeCollection(DBCollection, GridFS, MongoDBVBranch, VCounter) - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVLargeCollection
-
Creates a new MongoDBVLargeCollection.
- MongoDBVLargeCollection(DBCollection, GridFS, MongoDBVBranch, VCounter, AccessStrategy) - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVLargeCollection
-
Creates a new MongoDBVLargeCollection with a special access strategy
for large binary objects.
- MongoDBVMaintenance - Class in de.fhg.igd.mongomvcc.impl
-
MongoDB implementation of MVCC database maintenance operations.
- MongoDBVMaintenance(MongoDBVDatabase) - Constructor for class de.fhg.igd.mongomvcc.impl.MongoDBVMaintenance
-
Constructs the maintenance object