V - The key stored in the Tuple, associated key for the objectID - The ID of the objectpublic class IndexEntry<K,ID>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.entry.Entry |
entry
The referenced Entry if loaded from the store
|
private org.apache.directory.api.ldap.model.cursor.Tuple<K,ID> |
tuple
The underlying Tuple
|
| Constructor and Description |
|---|
IndexEntry()
Creates a ForwardIndexEntry instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
copy(IndexEntry<K,ID> entry) |
boolean |
equals(java.lang.Object that) |
org.apache.directory.api.ldap.model.entry.Entry |
getEntry() |
ID |
getId() |
K |
getKey() |
org.apache.directory.api.ldap.model.cursor.Tuple<K,ID> |
getTuple() |
int |
hashCode() |
void |
setEntry(org.apache.directory.api.ldap.model.entry.Entry entry) |
void |
setId(ID id) |
void |
setKey(K value) |
void |
setTuple(org.apache.directory.api.ldap.model.cursor.Tuple<K,ID> tuple)
Sets the key value tuple represented by this ForwardIndexEntry, after having
reset the IndexEntry content (the Entry will now be null)
|
java.lang.String |
toString() |
private org.apache.directory.api.ldap.model.entry.Entry entry
public void setTuple(org.apache.directory.api.ldap.model.cursor.Tuple<K,ID> tuple)
tuple - the tuple for the ForwardIndexEntrypublic ID getId()
public K getKey()
public void setId(ID id)
public void setKey(K value)
public org.apache.directory.api.ldap.model.entry.Entry getEntry()
public void setEntry(org.apache.directory.api.ldap.model.entry.Entry entry)
public void clear()
public void copy(IndexEntry<K,ID> entry)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object