Uses of Interface
org.apache.calcite.sql.validate.SqlMoniker
-
Packages that use SqlMoniker Package Description org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).org.apache.calcite.sql Provides a SQL parser and object model.org.apache.calcite.sql.advise Provides hints and corrections for editing SQL statements.org.apache.calcite.sql.validate SQL validation. -
-
Uses of SqlMoniker in org.apache.calcite.prepare
Methods in org.apache.calcite.prepare that return types with arguments of type SqlMoniker Modifier and Type Method Description java.util.List<SqlMoniker>
CalciteCatalogReader. getAllSchemaObjectNames(java.util.List<java.lang.String> names)
-
Uses of SqlMoniker in org.apache.calcite.sql
Method parameters in org.apache.calcite.sql with type arguments of type SqlMoniker Modifier and Type Method Description void
SqlCall. findValidOptions(SqlValidator validator, SqlValidatorScope scope, SqlParserPos pos, java.util.Collection<SqlMoniker> hintList)
void
SqlNode. findValidOptions(SqlValidator validator, SqlValidatorScope scope, SqlParserPos pos, java.util.Collection<SqlMoniker> hintList)
Lists all the valid alternatives for this node if the parse position of the node matches that of pos. -
Uses of SqlMoniker in org.apache.calcite.sql.advise
Methods in org.apache.calcite.sql.advise that return SqlMoniker Modifier and Type Method Description SqlMoniker
SqlAdvisor. getQualifiedName(java.lang.String sql, int cursor)
Gets the fully qualified name for aSqlIdentifier
at a given position of a sql statement.Methods in org.apache.calcite.sql.advise that return types with arguments of type SqlMoniker Modifier and Type Method Description java.util.List<SqlMoniker>
SqlAdvisor. getCompletionHints(java.lang.String sql, int cursor, java.lang.String[] replaced)
Gets completion hints for a partially completed or syntactically incorrect sql statement with cursor pointing to the position where completion hints are requested.java.util.List<SqlMoniker>
SqlAdvisor. getCompletionHints(java.lang.String sql, SqlParserPos pos)
Gets completion hints for a syntactically correct sql statement with dummy SqlIdentifierjava.util.List<SqlMoniker>
SqlAdvisor. getCompletionHints0(java.lang.String sql, int cursor)
Methods in org.apache.calcite.sql.advise with parameters of type SqlMoniker Modifier and Type Method Description java.lang.String
SqlAdvisor. getReplacement(SqlMoniker hint, boolean quoted, org.apache.calcite.avatica.util.Casing preferredCasing)
java.lang.String
SqlAdvisor. getReplacement(SqlMoniker hint, java.lang.String word)
Method parameters in org.apache.calcite.sql.advise with type arguments of type SqlMoniker Modifier and Type Method Description private SqlNode
SqlAdvisor. tryParse(java.lang.String sql, java.util.List<SqlMoniker> hintList)
Tries to parse a SQL statement.Constructors in org.apache.calcite.sql.advise with parameters of type SqlMoniker Constructor Description SqlAdvisorHint(SqlMoniker id)
SqlAdvisorHint2(SqlMoniker id, java.lang.String replacement)
-
Uses of SqlMoniker in org.apache.calcite.sql.validate
Classes in org.apache.calcite.sql.validate that implement SqlMoniker Modifier and Type Class Description class
SqlIdentifierMoniker
An implementation ofSqlMoniker
that encapsulates the normalized name information of aSqlIdentifier
.class
SqlMonikerImpl
A generic implementation ofSqlMoniker
.Fields in org.apache.calcite.sql.validate with type parameters of type SqlMoniker Modifier and Type Field Description static java.util.Comparator<SqlMoniker>
SqlMoniker. COMPARATOR
Methods in org.apache.calcite.sql.validate that return SqlMoniker Modifier and Type Method Description SqlMoniker
SqlValidatorImpl. lookupQualifiedName(SqlNode topNode, SqlParserPos pos)
SqlMoniker
SqlValidatorWithHints. lookupQualifiedName(SqlNode topNode, SqlParserPos pos)
Looks up the fully qualified name for aSqlIdentifier
at a given Parser Position in a parsed expression tree Note: call this only afterSqlValidator.validate(org.apache.calcite.sql.SqlNode)
has been called.Methods in org.apache.calcite.sql.validate that return types with arguments of type SqlMoniker Modifier and Type Method Description java.util.List<SqlMoniker>
DelegatingSqlValidatorCatalogReader. getAllSchemaObjectNames(java.util.List<java.lang.String> names)
java.util.List<SqlMoniker>
SqlValidatorCatalogReader. getAllSchemaObjectNames(java.util.List<java.lang.String> names)
Given fully qualified schema name, returns schema object names as specified.java.util.List<SqlMoniker>
SqlValidatorImpl. lookupHints(SqlNode topNode, SqlParserPos pos)
java.util.List<SqlMoniker>
SqlValidatorWithHints. lookupHints(SqlNode topNode, SqlParserPos pos)
Looks up completion hints for a syntactically correct SQL statement that has been parsed into an expression tree.Method parameters in org.apache.calcite.sql.validate with type arguments of type SqlMoniker Modifier and Type Method Description protected void
DelegatingScope. addColumnNames(SqlValidatorNamespace ns, java.util.List<SqlMoniker> colNames)
void
DelegatingScope. findAliases(java.util.Collection<SqlMoniker> result)
void
EmptyScope. findAliases(java.util.Collection<SqlMoniker> result)
void
ListScope. findAliases(java.util.Collection<SqlMoniker> result)
void
SqlValidatorScope. findAliases(java.util.Collection<SqlMoniker> result)
Collects theSqlMoniker
s of all table aliases (uses of tables in query FROM clauses) available in this scope.void
DelegatingScope. findAllColumnNames(java.util.List<SqlMoniker> result)
void
EmptyScope. findAllColumnNames(java.util.List<SqlMoniker> result)
void
ListScope. findAllColumnNames(java.util.List<SqlMoniker> result)
void
OrderByScope. findAllColumnNames(java.util.List<SqlMoniker> result)
void
SqlValidatorScope. findAllColumnNames(java.util.List<SqlMoniker> result)
Collects theSqlMoniker
s of all possible columns in this scope.void
EmptyScope. findAllTableNames(java.util.List<SqlMoniker> result)
private static void
SqlValidatorImpl. findAllValidFunctionNames(java.util.List<java.lang.String> names, SqlValidator validator, java.util.Collection<SqlMoniker> result, SqlParserPos pos)
private static void
SqlValidatorImpl. findAllValidUdfNames(java.util.List<java.lang.String> names, SqlValidator validator, java.util.Collection<SqlMoniker> result)
private void
SqlValidatorImpl. lookupFromHints(SqlNode node, SqlValidatorScope scope, SqlParserPos pos, java.util.Collection<SqlMoniker> hintList)
private void
SqlValidatorImpl. lookupJoinHints(SqlJoin join, SqlValidatorScope scope, SqlParserPos pos, java.util.Collection<SqlMoniker> hintList)
void
SqlValidatorImpl. lookupNameCompletionHints(SqlValidatorScope scope, java.util.List<java.lang.String> names, SqlParserPos pos, java.util.Collection<SqlMoniker> hintList)
Populates a list of all the valid alternatives for an identifier.(package private) void
SqlValidatorImpl. lookupSelectHints(SqlSelect select, SqlParserPos pos, java.util.Collection<SqlMoniker> hintList)
Looks up completion hints for a syntactically correct select SQL that has been parsed into an expression tree.private void
SqlValidatorImpl. lookupSelectHints(SqlValidatorNamespace ns, SqlParserPos pos, java.util.Collection<SqlMoniker> hintList)
-