Uses of Class
gudusoft.gsqlparser.TCustomParser
Packages that use TCustomParser
Package
Description
Provides the class
TGSqlParser necessary to create a SQL Parser and the classes a SQL Parser uses
internally to handle different SQL dialects.-
Uses of TCustomParser in gudusoft.gsqlparser
Subclasses of TCustomParser in gudusoft.gsqlparserModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in gudusoft.gsqlparser declared as TCustomParserModifier and TypeFieldDescriptionTCustomSqlStatement.parserParser used to parse this statement.TCustomSqlStatement.plsqlparserPLSQL parser used to parse this statement. -
Uses of TCustomParser in gudusoft.gsqlparser.parser
Methods in gudusoft.gsqlparser.parser that return TCustomParserModifier and TypeMethodDescriptionprotected abstract TCustomParserAbstractSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Get the main parser for this vendor.protected TCustomParserAnsiSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the ANSI SQL parser instance with updated token list.protected TCustomParserAthenaSqlParser.getParser(ParserContext context, TSourceTokenList tokens) protected TCustomParserBigQuerySqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the BigQuery SQL parser instance with updated token list.protected TCustomParserCouchbaseSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Couchbase SQL parser instance with updated token list.protected TCustomParserDatabricksSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Databricks SQL parser instance with updated token list.protected TCustomParserDaxSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the DAX SQL parser instance with updated token list.protected TCustomParserDb2SqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the DB2 SQL parser instance with updated token list.protected TCustomParserGaussDbSqlParser.getParser(ParserContext context, TSourceTokenList tokens) protected TCustomParserGreenplumSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Greenplum SQL parser instance with updated token list.protected TCustomParserHanaSqlParser.getParser(ParserContext context, TSourceTokenList tokens) protected TCustomParserHiveSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Hive SQL parser instance with updated token list.protected TCustomParserImpalaSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Impala SQL parser instance with updated token list.protected TCustomParserInformixSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Informix SQL parser instance with updated token list.protected TCustomParserMdxSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the MDX parser instance with updated token list.protected TCustomParserMssqlSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the SQL Server SQL parser instance with updated token list.protected TCustomParserMySqlSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the MySQL SQL parser instance with updated token list.protected TCustomParserNetezzaSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Netezza SQL parser instance with updated token list.protected TCustomParserOdbcSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the ODBC SQL parser instance with updated token list.protected TCustomParserOpenEdgeSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the OpenEdge SQL parser instance with updated token list.protected TCustomParserOracleSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Oracle SQL parser instance with updated token list.protected TCustomParserPostgreSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the PostgreSQL SQL parser instance with updated token list.protected TCustomParserPrestoSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Presto SQL parser instance with updated token list.protected TCustomParserRedshiftSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Redshift SQL parser instance with updated token list.protected TCustomParserSnowflakeSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Snowflake SQL parser instance with updated token list.protected TCustomParserSoqlSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the SOQL parser instance with updated token list.protected TCustomParserSparkSqlParser.getParser(ParserContext context, TSourceTokenList tokens) protected TCustomParserSparksqlSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the SparkSQL parser instance with updated token list.SqlParseResult.getParser()Get the parser instance (for backward compatibility).protected TCustomParserSybaseSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Sybase parser instance with updated token list.protected TCustomParserTeradataSqlParser.getParser(ParserContext context, TSourceTokenList tokens) protected TCustomParserVerticaSqlParser.getParser(ParserContext context, TSourceTokenList tokens) Return the Vertica SQL parser instance with updated token list.protected TCustomParserAbstractSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Get secondary parser (e.g., PL/SQL for Oracle).protected TCustomParserAthenaSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) protected TCustomParserBigQuerySqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) BigQuery does not use a secondary parser (unlike Oracle with PL/SQL).protected TCustomParserDatabricksSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Databricks uses a single parser, no secondary parser needed.protected TCustomParserDaxSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) DAX does not use a secondary parser.protected TCustomParserGaussDbSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) protected TCustomParserGreenplumSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Greenplum doesn't use secondary parser (unlike Oracle with PL/SQL parser).protected TCustomParserHanaSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) protected TCustomParserHiveSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Hive does not use a secondary parser (unlike Oracle with PL/SQL).protected TCustomParserInformixSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) No secondary parser for Informix (only Oracle has dual parsers).protected TCustomParserMdxSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) MDX doesn't have a secondary parser.protected TCustomParserNetezzaSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Return null for secondary parser (Netezza only uses one parser).protected TCustomParserOracleSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Return the Oracle PL/SQL parser instance with updated token list.protected TCustomParserPrestoSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Presto does not have a secondary parser (only Oracle has PL/SQL parser).protected TCustomParserRedshiftSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Redshift doesn't have a secondary parser.protected TCustomParserSnowflakeSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Snowflake does not use a secondary parser (unlike Oracle with PL/SQL).protected TCustomParserSparkSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) SqlParseResult.getSecondaryParser()Get the secondary parser instance (for Oracle PL/SQL parser).protected TCustomParserTeradataSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) protected TCustomParserVerticaSqlParser.getSecondaryParser(ParserContext context, TSourceTokenList tokens) Vertica does not use a secondary parser (unlike Oracle with PL/SQL parser).Methods in gudusoft.gsqlparser.parser with parameters of type TCustomParserModifier and TypeMethodDescriptionprotected voidAbstractSqlParser.onRawStatementComplete(ParserContext context, TCustomSqlStatement statement, TCustomParser mainParser, TCustomParser secondaryParser, TStatementList statementList, boolean isLastStatement, SqlParseResult.Builder builder) Hook method called when a raw statement is complete.protected voidPostgreSqlParser.onRawStatementComplete(ParserContext context, TCustomSqlStatement statement, TCustomParser mainParser, TCustomParser secondaryParser, TStatementList statementList, boolean isLastStatement, SqlParseResult.Builder builder) Override onRawStatementComplete to add PostgreSQL-specific processing.SqlParseResult.Builder.parser(TCustomParser parser) Set parser instance (for backward compatibility).protected abstract TStatementListAbstractSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform actual parsing with syntax checking.protected TStatementListAnsiSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing on raw ANSI SQL statements.protected TStatementListAthenaSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) protected TStatementListBigQuerySqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Parse all SQL statements after tokenization and raw extraction.protected TStatementListCouchbaseSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListDatabricksSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Parse all raw statements to build AST.protected TStatementListDaxSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Parse all raw DAX statements.protected TStatementListDb2SqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing on raw DB2 SQL statements.protected TStatementListGaussDbSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) protected TStatementListGreenplumSqlParser.performParsing(ParserContext context, TCustomParser mainParser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Parse all statements in the statement list.protected TStatementListHanaSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) protected TStatementListHiveSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Parse all raw SQL statements.protected TStatementListImpalaSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListInformixSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Parse all raw statements.protected TStatementListMdxSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListMssqlSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListMySqlSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListNetezzaSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListOdbcSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListOpenEdgeSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListOracleSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListPostgreSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListPrestoSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListRedshiftSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListSnowflakeSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListSoqlSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListSparkSqlParser.performParsing(ParserContext context, TCustomParser mainParser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) protected TStatementListSparksqlSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListSybaseSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.protected TStatementListTeradataSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) protected TStatementListVerticaSqlParser.performParsing(ParserContext context, TCustomParser parser, TCustomParser secondaryParser, TSourceTokenList tokens, TStatementList rawStatements) Perform full parsing of statements with syntax checking.SqlParseResult.Builder.secondaryParser(TCustomParser secondaryParser) Set secondary parser instance (for Oracle PL/SQL parser).