| Package | Description |
|---|---|
| org.unitils.dbmaintainer.script.impl | |
| org.unitils.dbmaintainer.script.parsingstate | |
| org.unitils.dbmaintainer.script.parsingstate.impl |
| Modifier and Type | Class and Description |
|---|---|
static class |
OracleScriptParser.OracleStatementBuilder
A statement builder with special handling for Oracle
|
| Modifier and Type | Method and Description |
|---|---|
protected StatementBuilder |
OracleScriptParser.createStatementBuilder()
Factory method for the statement builder.
|
protected StatementBuilder |
DefaultScriptParser.createStatementBuilder()
Factory method for the statement builder.
|
| Modifier and Type | Method and Description |
|---|---|
ParsingState |
ParsingState.handleNextChar(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Handles the next character in the script.
|
| Modifier and Type | Method and Description |
|---|---|
protected ParsingState |
OracleNormalParsingState.getNextParsingState(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Overridden to also correctly identify the starting of PL/SQL code blocks and to handle slashes / to end a statement.
|
protected ParsingState |
NormalParsingState.getNextParsingState(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Determines the next state.
|
protected ParsingState |
InSingleQuotesParsingState.getNextParsingState(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Determines whether the end of the literal is reached.
|
protected ParsingState |
InLineCommentParsingState.getNextParsingState(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Determines whether the end of the line comment is reached.
|
protected ParsingState |
InDoubleQuotesParsingState.getNextParsingState(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Determines whether the end of the literal is reached.
|
protected ParsingState |
InBlockCommentParsingState.getNextParsingState(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Determines whether the end of the block comment is reached.
|
protected abstract ParsingState |
BaseParsingState.getNextParsingState(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Determines the next state.
|
ParsingState |
BaseParsingState.handleNextChar(char previousChar,
char currentChar,
char nextChar,
StatementBuilder statementBuilder)
Handles the next character by adding it to the statement builder.
|
Copyright © 2017. All rights reserved.