A B C D E F G H I K L M N O P R S T U V _ 

A

AbstractIdHashCollection - Class in de.fhg.igd.mongomvcc.helper
Abstract base class for hash-based ID collections
AbstractIdHashCollection() - Constructor for class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
 
AbstractVFactory - Class in de.fhg.igd.mongomvcc
An abstract implementation of VFactory which provides some default method implementations
AbstractVFactory() - Constructor for class de.fhg.igd.mongomvcc.AbstractVFactory
 
AccessStrategy - Interface in de.fhg.igd.mongomvcc.impl
A strategy used to access large objects
add(long) - Method in class de.fhg.igd.mongomvcc.helper.IdHashSet
 
add(long) - Method in interface de.fhg.igd.mongomvcc.helper.IdSet
Inserts a value into the set.
addBranch(String, long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Adds a named branch.
addCommit(Commit) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Adds a commit to the tree
advance() - Method in interface de.fhg.igd.mongomvcc.helper.IdMapIterator
Advances to the next item

B

BuildInfo - Class in de.fhg.igd.mongomvcc.impl.internal
Saves build information about the MongoDB databse instance
BuildInfo(int, int, int, int) - Constructor for class de.fhg.igd.mongomvcc.impl.internal.BuildInfo
Constructs a new object

C

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
Clears the given array--i.e. fills it with AbstractIdHashCollection.FREE values
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
 

D

de.fhg.igd.mongomvcc - package de.fhg.igd.mongomvcc
 
de.fhg.igd.mongomvcc.helper - package de.fhg.igd.mongomvcc.helper
 
de.fhg.igd.mongomvcc.impl - package de.fhg.igd.mongomvcc.impl
 
de.fhg.igd.mongomvcc.impl.internal - package de.fhg.igd.mongomvcc.impl.internal
 
DEFAULT_EXPECTED_SIZE - Static variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
The default number of expected elements in this collection
DEFAULT_LOAD_FACTOR - Static variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
The default load factor
DefaultAccessStrategy - Class in de.fhg.igd.mongomvcc.impl
The default access strategy iterates through all elements in the given document and replaces binary data by replacement OIDs
DefaultAccessStrategy() - Constructor for class de.fhg.igd.mongomvcc.impl.DefaultAccessStrategy
 
DefaultConvertStrategy - Class in de.fhg.igd.mongomvcc.impl
The default convert strategy handles different types of binary data which is stores in a MongoDB GridFS
DefaultConvertStrategy(GridFS, VCounter) - Constructor for class de.fhg.igd.mongomvcc.impl.DefaultConvertStrategy
Constructs a new convert strategy
delete(String, long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Index
Deletes an object from this index (effectively replaces its OID with a negative number to mark it as deleted within the commit).
delete(long) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
 
delete(Map<String, Object>) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
 
delete(long) - Method in interface de.fhg.igd.mongomvcc.VCollection
Deletes the object with the given UID from the collection (if it exists)
delete(Map<String, Object>) - Method in interface de.fhg.igd.mongomvcc.VCollection
Deletes all objects from the collection that match the given example object
DELETED - Static variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
A deleted table cell
deserializeCommit(DBObject) - Static method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Deserializes a database object to a commit
drop() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
 
drop() - Method in interface de.fhg.igd.mongomvcc.VDatabase
Deletes the whole database.

E

EMPTY - Static variable in class de.fhg.igd.mongomvcc.impl.MongoDBVCursor
An empty cursor
ensureCapacity(int) - Method in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
Ensures that the table can hold a given number of elements.
ensureCapacity(int) - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
 
ensureCapacity(int) - Method in class de.fhg.igd.mongomvcc.helper.IdHashSet
 
existsBranch(String) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Checks if a branch with the given name exists
existsBranch(long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Checks if a branch with the given root CID exists
existsCommit(long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Checks if a commit with a given CID exists

F

Filter<T> - Interface in de.fhg.igd.mongomvcc.helper
Filters elements
filter(T) - Method in interface de.fhg.igd.mongomvcc.helper.Filter
Checks if the given element passes the filter
FilteringIterator<T> - Class in de.fhg.igd.mongomvcc.helper
An iterator that wraps around another one but filters its elements using a given filter
FilteringIterator(Iterator<T>, Filter<T>) - Constructor for class de.fhg.igd.mongomvcc.helper.FilteringIterator
Creates a new filtering iterator
find(String) - Method in class de.fhg.igd.mongomvcc.impl.internal.Index
Return all objects for a given collection.
find() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
 
find(Map<String, Object>) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
 
find(Map<String, Object>, String...) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
 
find() - Method in interface de.fhg.igd.mongomvcc.VCollection
 
find(Map<String, Object>) - Method in interface de.fhg.igd.mongomvcc.VCollection
Find by example.
find(Map<String, Object>, String...) - Method in interface de.fhg.igd.mongomvcc.VCollection
Find by example.
findDanglingCommits(long, TimeUnit) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVMaintenance
 
findDanglingCommits(long, TimeUnit) - Method in interface de.fhg.igd.mongomvcc.VMaintenance
Finds commits which do not belong to a named branch.
findOne(Map<String, Object>) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
 
findOne(Map<String, Object>) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVLargeCollection
 
findOne(Map<String, Object>) - Method in interface de.fhg.igd.mongomvcc.VCollection
Finds an object that matches the given example
findUnreferencedDocuments(String, long, TimeUnit) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVMaintenance
 
findUnreferencedDocuments(String, long, TimeUnit) - Method in interface de.fhg.igd.mongomvcc.VMaintenance
Finds documents which do not belong to a commit.
FloatArrayInputStream - Class in de.fhg.igd.mongomvcc.helper
An input stream that reads from a float array.
FloatArrayInputStream(float[]) - Constructor for class de.fhg.igd.mongomvcc.helper.FloatArrayInputStream
Creates a new input stream
FloatArrayInputStream(float[], boolean) - Constructor for class de.fhg.igd.mongomvcc.helper.FloatArrayInputStream
Creates a new input stream
FREE - Static variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
A free table cell

G

get(long) - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
 
get(long) - Method in interface de.fhg.igd.mongomvcc.helper.IdMap
Retrieves the value for a given key
getBuildInfo() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
 
getChildren(long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
 
getChildren(long) - Method in interface de.fhg.igd.mongomvcc.VHistory
Retrieves the CIDs of a commit's children
getCID() - Method in class de.fhg.igd.mongomvcc.impl.internal.Commit
 
getCollection(String) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
 
getCollection(String) - Method in interface de.fhg.igd.mongomvcc.VBranch
Gets or creates a database collection.
getConvertedFiles() - Method in class de.fhg.igd.mongomvcc.impl.DefaultConvertStrategy
 
getCounter() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
 
getCounter() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
 
getCounter() - Method in interface de.fhg.igd.mongomvcc.VDatabase
 
getDB() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
 
getDB() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
 
getDeletedOids() - Method in class de.fhg.igd.mongomvcc.impl.internal.Index
 
getDirtyObjects() - Method in class de.fhg.igd.mongomvcc.impl.internal.Index
 
getHead() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
 
getHead() - Method in interface de.fhg.igd.mongomvcc.VBranch
 
getHistory() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
 
getHistory() - Method in interface de.fhg.igd.mongomvcc.VDatabase
 
getIndex() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
 
getLargeCollection(String) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
 
getLargeCollection(String, AccessStrategy) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
Gets or creates a database collection that can handle large objects (BLOBs) and uses a given access strategy.
getLargeCollection(String) - Method in interface de.fhg.igd.mongomvcc.VBranch
Gets or creates a database collection that can handle large objects (BLOBs).
getMaintenance() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVDatabase
 
getMaintenance() - Method in interface de.fhg.igd.mongomvcc.VDatabase
 
getMajorVersion() - Method in class de.fhg.igd.mongomvcc.impl.internal.BuildInfo
 
getMaxBsonObjectSize() - Method in class de.fhg.igd.mongomvcc.impl.internal.BuildInfo
 
getMinorVersion() - Method in class de.fhg.igd.mongomvcc.impl.internal.BuildInfo
 
getName() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
 
getName() - Method in interface de.fhg.igd.mongomvcc.VCollection
 
getNextId() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCounter
 
getNextId() - Method in interface de.fhg.igd.mongomvcc.VCounter
A thread safe method to get the next unique id
getObjects() - Method in class de.fhg.igd.mongomvcc.impl.internal.Commit
 
getParent(long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
 
getParent(long) - Method in interface de.fhg.igd.mongomvcc.VHistory
Retrieves a commit's parent CID
getParentCID() - Method in class de.fhg.igd.mongomvcc.impl.internal.Commit
 
getQueryObject() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
 
getRevision() - Method in class de.fhg.igd.mongomvcc.impl.internal.BuildInfo
 
getRootCID() - Method in class de.fhg.igd.mongomvcc.impl.internal.Commit
 
getRootCid() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
 
getTimestamp() - Method in class de.fhg.igd.mongomvcc.impl.internal.Commit
 

H

hasChildren(long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Checks if a given commit has got children
hash(long) - Method in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
Calculates the hash for a given value
hasNext() - Method in class de.fhg.igd.mongomvcc.helper.FilteringIterator
 
hasNext() - Method in interface de.fhg.igd.mongomvcc.helper.IdMapIterator
 
hasNext() - Method in interface de.fhg.igd.mongomvcc.helper.IdSetIterator
 
hasNext() - Method in class de.fhg.igd.mongomvcc.helper.TransformingIterator
 

I

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 IdMaps
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 IdSets
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
 

K

key() - Method in interface de.fhg.igd.mongomvcc.helper.IdMapIterator
 
keys() - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
 
keys() - Method in interface de.fhg.igd.mongomvcc.helper.IdMap
 

L

LIFETIME - Static variable in class de.fhg.igd.mongomvcc.impl.internal.MongoDBConstants
Information about a document's lifetime

M

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
Implements VCollection for MongoDB
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
Implementation of VCounter for MongoDB.
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 InputStreams 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

N

next() - Method in class de.fhg.igd.mongomvcc.helper.FilteringIterator
 
next() - Method in interface de.fhg.igd.mongomvcc.helper.IdSetIterator
 
next(int) - Static method in class de.fhg.igd.mongomvcc.helper.Primes
Searches a prime number that is equal to or larger than the given number
next() - Method in class de.fhg.igd.mongomvcc.helper.TransformingIterator
 

O

OID - Static variable in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
The ID unique for each new object, regardless if it is really new or a new copy of an already existing object
onInsert(Map<String, Object>) - Method in interface de.fhg.igd.mongomvcc.impl.AccessStrategy
This method will be called for each object that is about to be put into the collection
onInsert(Map<String, Object>) - Method in class de.fhg.igd.mongomvcc.impl.DefaultAccessStrategy
 
onResolve(Map<String, Object>) - Method in interface de.fhg.igd.mongomvcc.impl.AccessStrategy
This method woll be called for each object that is retrieved from this collection
onResolve(Map<String, Object>) - Method in class de.fhg.igd.mongomvcc.impl.DefaultAccessStrategy
 

P

Primes - Class in de.fhg.igd.mongomvcc.helper
Provides an array of prime numbers optimized for hash tables
Primes() - Constructor for class de.fhg.igd.mongomvcc.helper.Primes
 
pruneDanglingCommits(long, TimeUnit) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVMaintenance
 
pruneDanglingCommits(long, TimeUnit) - Method in interface de.fhg.igd.mongomvcc.VMaintenance
Deletes all dangling commits from the database.
pruneUnreferencedDocuments(String, long, TimeUnit) - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVMaintenance
 
pruneUnreferencedDocuments(String, long, TimeUnit) - Method in interface de.fhg.igd.mongomvcc.VMaintenance
Deletes all unreferenced documents from the database.
put(long, long) - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
 
put(long, long) - Method in interface de.fhg.igd.mongomvcc.helper.IdMap
Puts a key-value pair into the map.

R

read() - Method in class de.fhg.igd.mongomvcc.helper.FloatArrayInputStream
 
remove() - Method in class de.fhg.igd.mongomvcc.helper.FilteringIterator
 
remove(long) - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
 
remove(long) - Method in class de.fhg.igd.mongomvcc.helper.IdHashSet
 
remove(long) - Method in interface de.fhg.igd.mongomvcc.helper.IdMap
Removes a key-value pair from the map
remove(long) - Method in interface de.fhg.igd.mongomvcc.helper.IdSet
Removes a value from the set
remove() - Method in class de.fhg.igd.mongomvcc.helper.TransformingIterator
 
resolveBranch(String) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Resolves the head commit of a named branch
resolveBranchRootCid(String) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Resolves the CID of a named branch's root
resolveCommit(long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Resolves a CID to its corresponding commit
rollback() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVBranch
 
rollback() - Method in interface de.fhg.igd.mongomvcc.VBranch
Resets this branch (i.e. discards all changes made since the branch has been checked out or since the last commit)

S

setConvertStrategy(ConvertStrategy) - Method in interface de.fhg.igd.mongomvcc.impl.AccessStrategy
Sets the convert strategy that should be used to convert binary data
setConvertStrategy(ConvertStrategy) - Method in class de.fhg.igd.mongomvcc.impl.DefaultAccessStrategy
 
size() - Method in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
 
size() - Method in interface de.fhg.igd.mongomvcc.helper.IdCollection
 
size() - Method in class de.fhg.igd.mongomvcc.impl.MongoDBVCursor
 
size() - Method in interface de.fhg.igd.mongomvcc.VCursor
 
supportsAnd(MongoDBVDatabase) - Static method in class de.fhg.igd.mongomvcc.impl.internal.CompatibilityHelper
Checks if the database supports the $and operation.

T

TIMESTAMP - Static variable in class de.fhg.igd.mongomvcc.impl.internal.MongoDBConstants
The timestamp of a commit or a document
toArray() - Method in class de.fhg.igd.mongomvcc.helper.IdHashSet
 
toArray() - Method in interface de.fhg.igd.mongomvcc.helper.IdSet
 
transform(I) - Method in class de.fhg.igd.mongomvcc.helper.TransformingIterator
Transforms an element
TransformingIterator<I,O> - Class in de.fhg.igd.mongomvcc.helper
An iterator that wraps around another one, but transforms all elements
TransformingIterator(Iterator<I>) - Constructor for class de.fhg.igd.mongomvcc.helper.TransformingIterator
Constructs a new transforming iterator
Tree - Class in de.fhg.igd.mongomvcc.impl.internal
Represents the tree of commits.
Tree(DB) - Constructor for class de.fhg.igd.mongomvcc.impl.internal.Tree
Creates a new tree object

U

UID - Static variable in class de.fhg.igd.mongomvcc.impl.MongoDBVCollection
The attribute for the unique ID
UID - Static variable in class de.fhg.igd.mongomvcc.VConstants
The property that denotes an object's unique ID
updateBranchHead(String, long) - Method in class de.fhg.igd.mongomvcc.impl.internal.Tree
Updates the head of a branch.

V

value() - Method in interface de.fhg.igd.mongomvcc.helper.IdMapIterator
 
values() - Method in class de.fhg.igd.mongomvcc.helper.IdHashMap
 
values() - Method in interface de.fhg.igd.mongomvcc.helper.IdMap
 
VBranch - Interface in de.fhg.igd.mongomvcc
A branch that has been checked out from a VDatabase.
VCollection - Interface in de.fhg.igd.mongomvcc
A collection within a Multiversion Concurrency Control database.
VConstants - Class in de.fhg.igd.mongomvcc
Constants used in a MVCC database
VCounter - Interface in de.fhg.igd.mongomvcc
Generates unique IDs.
VCursor - Interface in de.fhg.igd.mongomvcc
A cursor can be used to iterate over database objects
VDatabase - Interface in de.fhg.igd.mongomvcc
Represents a database using Multiversion Concurrency Control (MVCC).
VException - Exception in de.fhg.igd.mongomvcc
An unchecked exception that can be thrown by all classes belonging to the MVCC framework
VException() - Constructor for exception de.fhg.igd.mongomvcc.VException
 
VException(String) - Constructor for exception de.fhg.igd.mongomvcc.VException
 
VException(Throwable) - Constructor for exception de.fhg.igd.mongomvcc.VException
 
VException(String, Throwable) - Constructor for exception de.fhg.igd.mongomvcc.VException
 
VFactory - Interface in de.fhg.igd.mongomvcc
A factory for MVCC related objects.
VHistory - Interface in de.fhg.igd.mongomvcc
Provides access to detail information about commits (such as attributes, parent commit and children)
VLargeCollection - Interface in de.fhg.igd.mongomvcc
A VCollection which can also handle large objects (BLOBs).
VMaintenance - Interface in de.fhg.igd.mongomvcc
Provides maintenance operations for a MVCC database.
VOperations - Class in de.fhg.igd.mongomvcc
Constants for operations that can be used in queries

_

_capacity - Variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
_deleted - Variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
The number of cells marked as AbstractIdHashCollection.DELETED
_overloadFactor - Variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
A factor that will be multiplied with the expected number of elements in order to calculate the capacity
_size - Variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
The number of elements in this collection
_table - Variable in class de.fhg.igd.mongomvcc.helper.AbstractIdHashCollection
The actual table
A B C D E F G H I K L M N O P R S T U V _