| 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.catalog.diagnostic | |
| gudusoft.gsqlparser.dlineage.dataflow.listener | |
| gudusoft.gsqlparser.dlineage.impl.powerquery | |
| gudusoft.gsqlparser.nodes |
Provides the classes represents various SQL query parse tree node.
|
| gudusoft.gsqlparser.pp.stmtformatter | |
| gudusoft.gsqlparser.pp2.region | |
| gudusoft.gsqlparser.pp2.render | |
| gudusoft.gsqlparser.util |
| Modifier and Type | Method and Description |
|---|---|
TGSqlParser |
TParserPool.borrowParser(EDbVendor vendor)
Borrows a parser from the pool for the specified vendor.
|
TGSqlParser |
TSourceTokenList.getGsqlparser() |
| Modifier and Type | Method and Description |
|---|---|
T |
TParserPool.ParserFunction.apply(TGSqlParser parser) |
boolean |
ISQLStatementHandle.processSQLStatement(TCustomSqlStatement sqlStatement,
TGSqlParser sqlParser) |
void |
TParserPool.returnParser(EDbVendor vendor,
TGSqlParser parser)
Returns a parser to the pool for reuse.
|
void |
TSourceTokenList.setGsqlparser(TGSqlParser gsqlparser) |
| Modifier and Type | Method and Description |
|---|---|
static CatalogDiagnosticSink |
CatalogDiagnosticSink.toParser(TGSqlParser parser)
Surface WARN and ERROR diagnostics as
EErrorType.spwarningdbobject
entries on getSyntaxErrors(). |
| Modifier and Type | Method and Description |
|---|---|
void |
DataFlowHandleAdapter.endAnalyzeDataFlow(TGSqlParser sqlparser) |
void |
DataFlowHandleListener.endAnalyzeDataFlow(TGSqlParser sqlparser) |
void |
DataFlowHandleAdapter.startAnalyzeDataFlow(TGSqlParser sqlparser) |
void |
DataFlowHandleListener.startAnalyzeDataFlow(TGSqlParser sqlparser) |
| Modifier and Type | Field and Description |
|---|---|
TGSqlParser |
PowerQueryLineageResult.NativeQueryRef.innerParser |
| Modifier and Type | Method and Description |
|---|---|
TGSqlParser |
TParseTreeNode.getGsqlparser()
The parser that generate this node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TParseTreeNode.setGsqlparser(TGSqlParser gsqlparser) |
void |
TNodeFactory.setGsqlParser(TGSqlParser parser) |
| Modifier and Type | Method and Description |
|---|---|
static TGSqlParser |
SqlFormatter.preHandleRemoveComment(TGSqlParser parser) |
| Modifier and Type | Method and Description |
|---|---|
String |
SqlFormatter.format(TGSqlParser parser,
GFmtOpt option) |
static String |
FormatterFactory.pp(TGSqlParser parser,
GFmtOpt option) |
static String |
FormatterFactory.pp2(TGSqlParser parser,
GFmtOpt opt)
Convenience overload mirroring the
FormatterFactory.pp(TGSqlParser, GFmtOpt)
signature: returns the formatted text directly. |
static Pp2FormatResult |
FormatterFactory.pp2(TGSqlParser parser,
Pp2FormatOptions opts)
Fault-tolerant formatter entry point (pp2).
|
static TGSqlParser |
SqlFormatter.preHandleRemoveComment(TGSqlParser parser) |
| Modifier and Type | Method and Description |
|---|---|
TGSqlParser |
ParserPool.borrow()
Return the pooled parser, allocating it on the first call.
|
TGSqlParser |
RegionParseOutcome.getParser()
The
TGSqlParser that produced the AST for this outcome. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
GuardedAstDelegate.invokePpFormatter(TGSqlParser parser,
GFmtOpt opt)
Indirect-call seam so tests can subclass and substitute a deterministic
stand-in for
FormatterFactory.pp(). |
protected String |
GuardedAstDelegate.renderWith(TGSqlParser parser,
String inputSlice,
Pp2FormatOptions opts)
Render via the supplied parser.
|
| Constructor and Description |
|---|
joinRelationAnalyze(TGSqlParser sqlparser,
boolean showLocation) |