org.h2.mvstore.db
Class MVTableEngine

java.lang.Object
  extended by org.h2.mvstore.db.MVTableEngine
All Implemented Interfaces:
TableEngine

public class MVTableEngine
extends java.lang.Object
implements TableEngine

A table engine that internally uses the MVStore.


Nested Class Summary
static class MVTableEngine.Store
          A store with open tables.
 
Constructor Summary
MVTableEngine()
           
 
Method Summary
 TableBase createTable(CreateTableData data)
          Create new table.
static void flush(Database db)
          Flush all changes.
static java.util.Collection<MVTableEngine.Store> getStores()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVTableEngine

public MVTableEngine()
Method Detail

flush

public static void flush(Database db)
Flush all changes.

Parameters:
db - the database

getStores

public static java.util.Collection<MVTableEngine.Store> getStores()

createTable

public TableBase createTable(CreateTableData data)
Description copied from interface: TableEngine
Create new table.

Specified by:
createTable in interface TableEngine
Parameters:
data - the data to construct the table
Returns:
the created table