public static final class SqllrObservations.UnitRecord extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getParsedText()
The text the parser read for the unit.
|
int |
getParseResult()
The result of
TGSqlParser.parse() for the unit: 0 when it parsed without error. |
List<TSyntaxError> |
getRecoveredSyntaxErrors()
Errors of statements routine-body recovery skipped: the parse "succeeded" without them.
|
List<TCustomSqlStatement> |
getStatements()
The top-level statements of the unit, in text order; valid until the analyzer is disposed.
|
List<TSyntaxError> |
getSyntaxErrors() |
int |
getUnitIndex() |
public int getUnitIndex()
public int getParseResult()
TGSqlParser.parse() for the unit: 0 when it parsed without error.public List<TCustomSqlStatement> getStatements()
public List<TSyntaxError> getSyntaxErrors()
public String getParsedText()
public List<TSyntaxError> getRecoveredSyntaxErrors()