org.hsqldb.scriptio
Class ScriptReaderText
- java.lang.Object
-
- org.hsqldb.scriptio.ScriptReaderBase
-
- org.hsqldb.scriptio.ScriptReaderText
-
- Direct Known Subclasses:
- ScriptReaderDecode
public class ScriptReaderText extends ScriptReaderBase
Handles operations involving reading back a script or log file written out by ScriptWriterText. This implementation corresponds to ScriptWriterText.- Since:
- 1.7.2
-
-
Field Summary
-
Fields inherited from class org.hsqldb.scriptio.ScriptReaderBase
ANY_STATEMENT, COMMIT_STATEMENT, DELETE_STATEMENT, INSERT_STATEMENT, SESSION_ID, SET_SCHEMA_STATEMENT
-
-
Constructor Summary
Constructors Constructor and Description ScriptReaderText(Database db)ScriptReaderText(Database db, java.io.InputStream inputStream)ScriptReaderText(Database db, java.lang.String fileName, boolean compressed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclose()booleanreadLoggedStatement(Session session)-
Methods inherited from class org.hsqldb.scriptio.ScriptReaderBase
getCurrentSchema, getCurrentSequence, getCurrentTable, getData, getLineNumber, getLoggedStatement, getSequenceValue, getSessionNumber, getStatementType, readAll
-
-
-
-
Constructor Detail
-
ScriptReaderText
public ScriptReaderText(Database db)
-
ScriptReaderText
public ScriptReaderText(Database db, java.lang.String fileName, boolean compressed) throws java.io.IOException
- Throws:
java.io.IOException
-
ScriptReaderText
public ScriptReaderText(Database db, java.io.InputStream inputStream)
-
-
Method Detail
-
readLoggedStatement
public boolean readLoggedStatement(Session session)
- Specified by:
readLoggedStatementin classScriptReaderBase
-
close
public void close()
- Specified by:
closein classScriptReaderBase
-
-
DataMelt 3.0 © DataMelt by jWork.ORG