All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
Value |
add(Transaction tx,
Key key,
Value value) |
Value |
addFirst(Transaction tx,
Key key,
Value value) |
void |
clear(Transaction tx)
clear the index
|
boolean |
containsKey(Transaction tx,
Key key) |
ListNode<Key,Value> |
createNode(Transaction tx) |
Value |
get(Transaction tx,
Key key) |
Map.Entry<Key,Value> |
getFirst(Transaction tx) |
protected ListNode<Key,Value> |
getHead(Transaction tx) |
long |
getHeadPageId() |
Marshaller<Key> |
getKeyMarshaller() |
Map.Entry<Key,Value> |
getLast(Transaction tx) |
PageFile |
getPageFile() |
protected ListNode<Key,Value> |
getTail(Transaction tx) |
long |
getTailPageId() |
Marshaller<Value> |
getValueMarshaller() |
boolean |
isEmpty(Transaction tx) |
boolean |
isTransient() |
Iterator<Map.Entry<Key,Value>> |
iterator(Transaction tx) |
Iterator<Map.Entry<Key,Value>> |
iterator(Transaction tx,
long initialPosition) |
Iterator<ListNode<Key,Value>> |
listNodeIterator(Transaction tx) |
void |
load(Transaction tx)
load indexes
|
protected void |
onLoad(ListNode<Key,Value> node,
Transaction tx) |
void |
onRemove(Map.Entry<Key,Value> removed) |
Value |
put(Transaction tx,
Key key,
Value value)
Update the value of the item with the given key in the list if ot exists, otherwise
it appends the value to the end of the list.
|
Value |
remove(Transaction tx,
Key key)
remove the index key
|
void |
setHeadPageId(long headPageId) |
void |
setKeyMarshaller(Marshaller<Key> keyMarshaller)
Set the marshaller for key objects
|
void |
setPageFile(PageFile pageFile) |
void |
setTailPageId(long tailPageId) |
void |
setValueMarshaller(Marshaller<Value> valueMarshaller)
Set the marshaller for key objects
|
long |
size() |
void |
storeNode(Transaction tx,
ListNode<Key,Value> node,
boolean overflow) |
void |
unload(Transaction tx)
unload indexes
|