| java.lang.Object org.hsqldb.Log
Log | class Log implements Runnable(Code) | | This class is responsible for most file handling. A HSQL database
consists of a .properties file, a .script file (contains a SQL script),
a .data file (contains data of cached tables) and a .backup file
(contains the compressed .data file)
This is an example of the .properties file. The version and the modified
properties are automatically created by the database and should not be
changed manually:
modified=no
version=1.43
The following lines are optional, this means they are not created
automatically by the database, but they are interpreted if they exist in
the .script file. They have to be created manually if required. If they
don't exist the default is used. This are the defaults of the database
'test':
readonly=false
version: 1.7.0 |
getProperties | HsqlDatabaseProperties getProperties()(Code) | | Method declaration
|
initializeDatabaseFromBuffer | void initializeDatabaseFromBuffer(byte[] buf) throws SQLException(Code) | | |
open | boolean open() throws SQLException(Code) | | When opening a database, the hsqldb.compatible_version property is
used to determine if this version of the engine is equal to or greater
than the earliest version of the engine capable of opening that
database.
throws: SQLException - |
run | public void run()(Code) | | Method declaration
|
scriptToBuffer | static byte[] scriptToBuffer(Database db, boolean full, Session session) throws SQLException(Code) | | Called internally by replication to generate initial state to be sent to new replica
Returns null if the generation fails, or throws an exception
|
setLogSize | void setLogSize(int mb)(Code) | | Method declaration
Parameters: mb - |
setWriteDelay | void setWriteDelay(boolean delay)(Code) | | Method declaration
Parameters: delay - |
stop | void stop()(Code) | | Method declaration
|
|
|