| Package | Description |
|---|---|
| gudusoft.gsqlparser |
Provides the class
TGSqlParser necessary to create a SQL Parser and the classes a SQL Parser uses
internally to handle different SQL dialects. |
| gudusoft.gsqlparser.parser | |
| gudusoft.gsqlparser.pp2 |
Fault-tolerant SQL formatter (pp2) — augments, does not replace,
the parse-dependent
gudusoft.gsqlparser.pp formatter. |
| gudusoft.gsqlparser.pp2.region |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<TSyntaxError> |
TCustomSqlStatement.getSyntaxErrors() |
ArrayList<TSyntaxError> |
TGSqlParser.getSyntaxErrors()
The array of syntax error generated by the parser during checking the syntax of the input SQL,
element of this list is type of
TSyntaxError |
ArrayList<TSyntaxError> |
TCustomSqlStatement.getSyntaxHints() |
| Modifier and Type | Method and Description |
|---|---|
EActionOnParseError |
TCustomSqlStatement.parseerrormessagehandle(TSyntaxError se)
Log error messages if syntax errors found while parsing this statement.
|
| Constructor and Description |
|---|
TSyntaxError(TSyntaxError n) |
| Modifier and Type | Field and Description |
|---|---|
protected List<TSyntaxError> |
AbstractSqlParser.syntaxErrors |
| Modifier and Type | Method and Description |
|---|---|
List<TSyntaxError> |
AbstractSqlParser.getSyntaxErrors()
Get the syntax errors collected during parsing.
|
ArrayList<TSyntaxError> |
SqlParseResult.getSyntaxErrors()
Get detailed syntax errors.
|
| Modifier and Type | Method and Description |
|---|---|
SqlParseResult.Builder |
SqlParseResult.Builder.addSyntaxError(TSyntaxError syntaxError)
Add a single syntax error.
|
| Modifier and Type | Method and Description |
|---|---|
SqlParseResult.Builder |
SqlParseResult.Builder.syntaxErrors(ArrayList<TSyntaxError> syntaxErrors)
Set syntax errors list.
|
| Modifier and Type | Method and Description |
|---|---|
TSyntaxError |
FormatDiagnostic.getParserError()
May be
null if the diagnostic did not originate from a parser failure. |
| Modifier and Type | Method and Description |
|---|---|
List<TSyntaxError> |
Pp2ParseException.getParserErrors()
Immutable view of the parser diagnostics that triggered this failure.
|
| Constructor and Description |
|---|
FormatDiagnostic(FormatDiagnostic.Severity severity,
int startOffset,
int endOffset,
String message,
TSyntaxError parserError) |
| Constructor and Description |
|---|
Pp2ParseException(String message,
List<TSyntaxError> parserErrors) |
| Modifier and Type | Method and Description |
|---|---|
List<TSyntaxError> |
RegionParseOutcome.getSyntaxErrors()
Immutable list of syntax errors.
|
| Modifier and Type | Method and Description |
|---|---|
static RegionParseOutcome |
RegionParseOutcome.astError(StatementRange range,
String parsedSql,
List<TSyntaxError> errors,
String note)
Build an
AST_ERROR outcome. |