|
||||||||
| 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. |
|
void |
log(java.lang.String string)
Log the string, if logging is enabled. |
|
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. |
|
void |
store()
Persist all changes to disk. |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 java.lang.String toString()
toString in class java.lang.Objectpublic void close()
public void store()
public long commit()
public void compact()
public void log(java.lang.String string)
string - the string to log
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||