| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final MultiLineSqlScriptExtractor | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static SqlScriptParser. | |
| private static SqlScriptParser. | |
| private static SqlScriptParser. | |
| public List | extractCommands(Reader reader, Dialect dialect)
Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final MultiLineSqlScriptExtractor INSTANCE | |
| SHORT_NAME | back to summary |
|---|---|
| public static final String SHORT_NAME | |
| MultiLineSqlScriptExtractor | back to summary |
|---|---|
| public MultiLineSqlScriptExtractor() | |
| buildScriptParseTree | back to summary |
|---|---|
| private static SqlScriptParser. | |
| buildScriptParseTree | back to summary |
|---|---|
| private static SqlScriptParser. | |
| buildScriptParseTree | back to summary |
|---|---|
| private static SqlScriptParser. | |
| extractCommands | back to summary |
|---|---|
| public List Implements org. Doc from org. Read the commands from the SQL script represented by the incoming reader, returning those commands as an array
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | syntaxError(Recognizer<?, ?>
What parser got the error. From this
object, you can access the context as well
as the input stream. recognizer, Object The offending token in the input token
stream, unless recognizer is a lexer (then it's null). If
no viable alternative error, offendingSymbol, int e has token at which we
started production for the decision.The line number in the input where the error occurred. line, int The character position within that line where the error occurred. charPositionInLine, String The message to emit. msg, RecognitionException The exception generated by the parser that led to
the reporting of an error. It is null in the case where
the parser was able to recover in line without exiting the
surrounding rule. e)Overrides org. Implements org. |
| VerboseListener | back to summary |
|---|---|
| public VerboseListener() | |
| syntaxError | back to summary |
|---|---|
| public void syntaxError(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) Overrides org. Implements org. Doc from org. Upon syntax error, notify any interested parties. This is not how to
recover from errors or compute error messages. The
| |