Package org.apache.calcite.sql.parser
package org.apache.calcite.sql.parser
Classes for testing SQL Parser.
-
ClassDescriptionBuilder for
SqlParserPos.SqlParseException defines a checked exception corresponding toSqlParser.ASqlParserparses a SQL statement.Interface to define the configuration for a SQL parser.Deprecated.Helper class for building fluent parser tests such assql("values 1").ok();.Factory forSqlAbstractParserImplobjects.SqlParserPos represents the position of a parsed token within SQL statement text.ASqlParserTestis a unit-test forthe SQL parser.Callback to control how test actions are performed.Default implementation ofSqlParserTest.Tester.Implementation ofSqlParserTest.Testerwhich makes sure that the results of unparsing a query are consistent with the original query.Utility methods relating to parsing SQL.Thrown bySqlParserUtil.replaceEscapedChars(String).The components of a collation definition, per the SQL standard.Class that holds aSqlOperatorand aSqlParserPos.Contains a string, the offset of a token within the string, and a parser position containing the beginning and end line number.