|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.xdbm.AbstractIndexEntry<V,ID>
org.apache.directory.server.xdbm.ForwardIndexEntry<V,ID>
V - The value stored in the Tuple, associated key for the objectID - The ID of the objectpublic class ForwardIndexEntry<V,ID>
An index id value pair based on a Tuple which can optionally reference the indexed Entry if one has already been loaded.
| Constructor Summary | |
|---|---|
ForwardIndexEntry()
Creates a ForwardIndexEntry instance |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the id, value and Entry in this IndexEntry. |
void |
copy(IndexEntry<V,ID> entry)
Copies the values of another IndexEntry into this IndexEntry. |
ID |
getId()
Gets the id of the indexed Entry. |
org.apache.directory.shared.ldap.model.cursor.Tuple<V,ID> |
getTuple()
Gets access to the underlying tuple. |
V |
getValue()
Gets the value referred to by this IndexEntry. |
void |
setId(ID id)
Sets the id of the indexed.Entry |
void |
setTuple(org.apache.directory.shared.ldap.model.cursor.Tuple<V,ID> tuple,
org.apache.directory.shared.ldap.model.entry.Entry entry)
Sets the key value tuple represented by this ForwardIndexEntry optionally setting the Entry associated with the id if one was loaded from the master table. |
void |
setValue(V value)
Sets the value referred to by this IndexEntry. |
String |
toString()
|
| Methods inherited from class org.apache.directory.server.xdbm.AbstractIndexEntry |
|---|
getEntry, setEntry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardIndexEntry()
| Method Detail |
|---|
public void setTuple(org.apache.directory.shared.ldap.model.cursor.Tuple<V,ID> tuple,
org.apache.directory.shared.ldap.model.entry.Entry entry)
tuple - the tuple for the ForwardIndexEntryentry - the resuscitated Entry if anypublic ID getId()
getId in interface IndexEntry<V,ID>getId in class AbstractIndexEntry<V,ID>public V getValue()
getValue in interface IndexEntry<V,ID>getValue in class AbstractIndexEntry<V,ID>public void setId(ID id)
setId in interface IndexEntry<V,ID>setId in class AbstractIndexEntry<V,ID>id - the id of the indexed Entrypublic void setValue(V value)
setValue in interface IndexEntry<V,ID>setValue in class AbstractIndexEntry<V,ID>value - the value of the Entry referred topublic org.apache.directory.shared.ldap.model.cursor.Tuple<V,ID> getTuple()
getTuple in interface IndexEntry<V,ID>getTuple in class AbstractIndexEntry<V,ID>public void clear()
clear in interface IndexEntry<V,ID>clear in class AbstractIndexEntry<V,ID>public void copy(IndexEntry<V,ID> entry)
copy in interface IndexEntry<V,ID>copy in class AbstractIndexEntry<V,ID>entry - the entry to copy fields ofpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||