DDL: SQL statements for table and user definitions DATA: INSERT statements for memory tables This happens as part of the CHECKPOINT and SHUTDOWN COMPACT process. In this case, the DATA block contains the CACHED table data as well.
A related use for this class is for saving a current snapshot of the database data to a user-defined file with the SCRIPT command A log consists of SQL statements of different types. Each statement is encoded as ASCII and saved.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv RowOutputInterface |
| Access | Constructor and Description |
|---|---|
| public | ScriptWriterText(Database db, OutputStream outputStream, FileAccess.
|
| public | ScriptWriterText(Database db, String file, boolean includeCachedData, boolean newFile, boolean isUserScript)
|
| public |
| BYTES_C_ID_INIT | back to summary |
|---|---|
| pack-priv static byte[] BYTES_C_ID_INIT | |
| BYTES_C_ID_TERM | back to summary |
|---|---|
| pack-priv static byte[] BYTES_C_ID_TERM | |
| BYTES_COMMIT | back to summary |
|---|---|
| pack-priv static byte[] BYTES_COMMIT | |
| BYTES_DELETE_FROM | back to summary |
|---|---|
| pack-priv static byte[] BYTES_DELETE_FROM | |
| BYTES_INSERT_INTO | back to summary |
|---|---|
| pack-priv static byte[] BYTES_INSERT_INTO | |
| BYTES_LINE_SEP | back to summary |
|---|---|
| pack-priv static byte[] BYTES_LINE_SEP | |
| BYTES_SCHEMA | back to summary |
|---|---|
| pack-priv static byte[] BYTES_SCHEMA | |
| BYTES_SEQUENCE | back to summary |
|---|---|
| pack-priv static byte[] BYTES_SEQUENCE | |
| BYTES_SEQUENCE_MID | back to summary |
|---|---|
| pack-priv static byte[] BYTES_SEQUENCE_MID | |
| BYTES_TERM | back to summary |
|---|---|
| pack-priv static byte[] BYTES_TERM | |
| BYTES_VALUES | back to summary |
|---|---|
| pack-priv static byte[] BYTES_VALUES | |
| BYTES_WHERE | back to summary |
|---|---|
| pack-priv static byte[] BYTES_WHERE | |
| rowOut | back to summary |
|---|---|
| pack-priv RowOutputInterface rowOut | |
| ScriptWriterText | back to summary |
|---|---|
| public ScriptWriterText(Database db, OutputStream outputStream, FileAccess. | |
| ScriptWriterText | back to summary |
|---|---|
| public ScriptWriterText(Database db, String file, boolean includeCachedData, boolean newFile, boolean isUserScript) | |
| ScriptWriterText | back to summary |
|---|---|
| public ScriptWriterText(Database db, String file, boolean includeCachedData, boolean compressed) | |
| finishStream | back to summary |
|---|---|
| protected void finishStream() Overrides org. | |
| initBuffers | back to summary |
|---|---|
| protected void initBuffers() Implements abstract org. | |
| writeCommitStatement | back to summary |
|---|---|
| public void writeCommitStatement(Session session) Implements abstract org. | |
| writeDataTerm | back to summary |
|---|---|
| protected void writeDataTerm() Implements abstract org. | |
| writeDeleteStatement | back to summary |
|---|---|
| public void writeDeleteStatement(Session session, Table table, Object[] data) Implements abstract org. | |
| writeInsertStatement | back to summary |
|---|---|
| public void writeInsertStatement(Session session, Row row, Table table) Implements abstract org. | |
| writeLogStatement | back to summary |
|---|---|
| public void writeLogStatement(Session session, String s) Implements abstract org. | |
| writeOtherStatement | back to summary |
|---|---|
| public void writeOtherStatement(Session session, String s) Implements abstract org. | |
| writeRow | back to summary |
|---|---|
| public void writeRow(Session session, Row row, Table table) Implements abstract org. | |
| writeRowOutToFile | back to summary |
|---|---|
| pack-priv void writeRowOutToFile() | |
| writeSchemaStatement | back to summary |
|---|---|
| private void writeSchemaStatement(HsqlNameManager. | |
| writeSequenceStatement | back to summary |
|---|---|
| public void writeSequenceStatement(Session session, NumberSequence seq) Implements abstract org. | |
| writeSessionIdAndSchema | back to summary |
|---|---|
| protected void writeSessionIdAndSchema(Session session) Implements abstract org. | |
| writeTableInit | back to summary |
|---|---|
| public void writeTableInit(Table t) Overrides org. | |