org.siebengeisslein.indexedlist
Class MultiBTreeIndex<Value>
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.indexedlist.BTreeIndex<Ref,Value>
org.siebengeisslein.indexedlist.MultiBTreeIndex<Value>
- All Implemented Interfaces:
- java.lang.Cloneable, CloneAndMergeAware, CloneAware, Instrumented, MergeAware, Index<Ref,Value>
public class MultiBTreeIndex<Value>
- extends BTreeIndex<Ref,Value>
| Methods inherited from class org.siebengeisslein.indexedlist.BTreeIndex |
clone, getComponentId, getFactory, getFieldName, getGetterName, getKey, getOrder, getPrefix, getRoot, getType, merge, replaceMerged, toString |
| Methods inherited from class org.siebengeisslein.client.Persistent |
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, hashCode, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
MultiBTreeIndex
public MultiBTreeIndex(BTreeNodeContentFactory factory,
int order,
java.lang.String fieldName,
int componentId)
add
public void add(Value value)
- Specified by:
add in interface Index<Ref,Value>- Overrides:
add in class BTreeIndex<Ref,Value>
optimize
public void optimize()
- Specified by:
optimize in interface Index<Ref,Value>- Overrides:
optimize in class BTreeIndex<Ref,Value>
remove
public void remove(Value entry)
throws KeyNotFoundException
- Specified by:
remove in interface Index<Ref,Value>- Overrides:
remove in class BTreeIndex<Ref,Value>
- Throws:
KeyNotFoundException
get
public void get(Ref key,
java.util.List<Ref> result,
int maxCount)
- Specified by:
get in interface Index<Ref,Value>- Overrides:
get in class BTreeIndex<Ref,Value>
allIterator
public java.util.Iterator<Ref> allIterator()
- Specified by:
allIterator in interface Index<Ref,Value>- Overrides:
allIterator in class BTreeIndex<Ref,Value>
remove
protected void remove(Ref key,
Value entry)
- Overrides:
remove in class BTreeIndex<Ref,Value>