public interface IndexEntry<V,O,ID>
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the id, value and object in this IndexEntry.
|
void |
copy(IndexEntry<V,O,ID> entry)
Copies the values of another IndexEntry into this IndexEntry.
|
ID |
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(ID id)
Sets the id of the object indexed.
|
void |
setObject(O obj)
Sets the object indexed.
|
void |
setValue(V value)
Sets the value referred to by this IndexEntry.
|
V getValue()
void setValue(V value)
value
- the value of the object referred toID getId()
void setId(ID id)
id
- the id of the object indexedO getObject()
Tuple<?,?> getTuple()
void setObject(O obj)
obj
- the object indexedvoid clear()
void copy(IndexEntry<V,O,ID> entry)
entry
- the entry to copy fields ofCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.