|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.dev.store.btree.BtreeMapStore
public class BtreeMapStore
A persistent storage for tree maps.
| Method Summary | ||
|---|---|---|
void |
close()
Close the file. |
|
long |
commit()
Commit the current transaction. |
|
void |
compact()
Try to reduce the file size. |
|
static BtreeMapStore |
open(java.lang.String fileName)
Open a tree store. |
|
|
openMap(java.lang.String name,
java.lang.Class<K> keyClass,
java.lang.Class<V> valueClass)
Open a map. |
|
long |
store()
Commit all changes and persist them to disk. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BtreeMapStore open(java.lang.String fileName)
fileName - the file name
public <K,V> BtreeMap<K,V> openMap(java.lang.String name,
java.lang.Class<K> keyClass,
java.lang.Class<V> valueClass)
K - the key typeV - the value typename - the name of the mapkeyClass - the key classvalueClass - the value class
public void close()
public long store()
public long commit()
public void compact()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||