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
.ASqlParser
parses 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 forSqlAbstractParserImpl
objects.SqlParserPos represents the position of a parsed token within SQL statement text.ASqlParserTest
is a unit-test forthe SQL parser
.Callback to control how test actions are performed.Default implementation ofSqlParserTest.Tester
.Implementation ofSqlParserTest.Tester
which 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 aSqlOperator
and aSqlParserPos
.Contains a string, the offset of a token within the string, and a parser position containing the beginning and end line number.