|
||||||||||
| 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.ReverseIndexEntry<V,ID>
V - The value stored in the Tuple, associated key for the EntryID - The ID of the Entrypublic class ReverseIndexEntry<V,ID>
An index id value pair which can optionally reference the indexed Entry if one has already been loaded.
| Constructor Summary | |
|---|---|
ReverseIndexEntry()
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<?,?> |
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<ID,V> tuple,
org.apache.directory.shared.ldap.model.entry.Entry entry)
Sets the Tuple value represented by this ReverseIndexEntry optionally setting the Entry associated with the id if one was loaded from the master table. |
void |
setValue(V key)
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 ReverseIndexEntry()
| Method Detail |
|---|
public void setTuple(org.apache.directory.shared.ldap.model.cursor.Tuple<ID,V> tuple,
org.apache.directory.shared.ldap.model.entry.Entry entry)
tuple - the tuple for the ReverseIndexEntryobj - the resusitated Entry that is indexed 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 key)
setValue in interface IndexEntry<V,ID>setValue in class AbstractIndexEntry<V,ID>key - the value of the Entry referred topublic org.apache.directory.shared.ldap.model.cursor.Tuple<?,?> 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 | |||||||||