|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.xdbm.ForwardIndexEntry<V,O>
public class ForwardIndexEntry<V,O>
An index id value pair based on a Tuple which can optionally reference the indexed obj if one has already been loaded.
| Constructor Summary | |
|---|---|
ForwardIndexEntry()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears the id, value and object in this IndexEntry. |
void |
copy(IndexEntry<V,O> entry)
Copies the values of another IndexEntry into this IndexEntry. |
java.lang.Long |
getId()
Gets the id of the object indexed. |
O |
getObject()
Gets the object indexed if resusitated. |
Tuple |
getTuple()
Gets access to the underlying tuple. |
V |
getValue()
Gets the value referred to by this IndexEntry. |
void |
setId(java.lang.Long id)
Sets the id of the object indexed. |
void |
setObject(O obj)
Sets the object indexed. |
void |
setTuple(Tuple<V,java.lang.Long> tuple,
O entry)
Sets the key value tuple represented by this ForwardIndexEntry optionally setting the obj associated with the id if one was loaded from the master table. |
void |
setValue(V value)
Sets the value referred to by this IndexEntry. |
java.lang.String |
toString()
|
| 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(Tuple<V,java.lang.Long> tuple,
O entry)
tuple - the tuple for the ForwardIndexEntryentry - the resusitated obj if anypublic java.lang.Long getId()
IndexEntry
getId in interface IndexEntry<V,O>public V getValue()
IndexEntry
getValue in interface IndexEntry<V,O>public void setId(java.lang.Long id)
IndexEntry
setId in interface IndexEntry<V,O>id - the id of the object indexedpublic void setValue(V value)
IndexEntry
setValue in interface IndexEntry<V,O>value - the value of the object referred topublic O getObject()
IndexEntry
getObject in interface IndexEntry<V,O>public void setObject(O obj)
IndexEntry
setObject in interface IndexEntry<V,O>obj - the object indexedpublic Tuple getTuple()
IndexEntry
getTuple in interface IndexEntry<V,O>public void clear()
IndexEntry
clear in interface IndexEntry<V,O>public void copy(IndexEntry<V,O> entry)
IndexEntry
copy in interface IndexEntry<V,O>entry - the entry to copy fields ofpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||