Uses of Class
org.apache.calcite.sql.SqlIdentifier
-
Packages that use SqlIdentifier Package Description org.apache.calcite.adapter.jdbc Query provider based on a JDBC data source.org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).org.apache.calcite.rel.type Defines a type system for relational expressions.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.ddl Parse tree for SQL DDL statements.org.apache.calcite.sql.parser Provides a SQL parser.org.apache.calcite.sql.type SQL type system.org.apache.calcite.sql.util Utility classes for the SQL object model, parsing, and validation.org.apache.calcite.sql.validate SQL validation.org.apache.calcite.sql2rel Translates a SQL parse tree to relational expression. -
-
Uses of SqlIdentifier in org.apache.calcite.adapter.jdbc
Methods in org.apache.calcite.adapter.jdbc that return SqlIdentifier Modifier and Type Method Description (package private) SqlIdentifier
JdbcTable. tableName()
-
Uses of SqlIdentifier in org.apache.calcite.prepare
Methods in org.apache.calcite.prepare with parameters of type SqlIdentifier Modifier and Type Method Description RelDataType
CalciteCatalogReader. getNamedType(SqlIdentifier typeName)
void
CalciteCatalogReader. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
private static SqlOperator
CalciteCatalogReader. toOp(RelDataTypeFactory typeFactory, SqlIdentifier name, Function function)
Converts a function to aSqlOperator
.private SqlOperator
CalciteCatalogReader. toOp(SqlIdentifier name, Function function)
-
Uses of SqlIdentifier in org.apache.calcite.rel.type
Methods in org.apache.calcite.rel.type that return SqlIdentifier Modifier and Type Method Description SqlIdentifier
RelDataType. getSqlIdentifier()
Gets theSqlIdentifier
associated with this type.SqlIdentifier
RelDataTypeImpl. getSqlIdentifier()
-
Uses of SqlIdentifier in org.apache.calcite.sql
Fields in org.apache.calcite.sql declared as SqlIdentifier Modifier and Type Field Description (package private) SqlIdentifier
SqlDelete. alias
(package private) SqlIdentifier
SqlMerge. alias
(package private) SqlIdentifier
SqlUpdate. alias
private SqlIdentifier
SqlDataTypeSpec. baseTypeName
private SqlIdentifier
SqlDataTypeSpec. collectionsTypeName
(package private) SqlIdentifier
SqlDescribeTable. column
(package private) SqlIdentifier
SqlWindow. declName
The name of the window being declared.(package private) SqlIdentifier
SqlSetOption. name
Name of the option as anSqlIdentifier
with one or more parts.SqlIdentifier
SqlWithItem. name
(package private) SqlIdentifier
SqlWindow. refName
The name of the window being referenced, or null.(package private) SqlIdentifier
SqlDescribeSchema. schema
private SqlIdentifier
SqlFunction. sqlIdentifier
(package private) SqlIdentifier
SqlDescribeTable. table
private SqlIdentifier
SqlDataTypeSpec. typeName
Methods in org.apache.calcite.sql that return SqlIdentifier Modifier and Type Method Description SqlIdentifier
SqlIdentifier. add(int i, java.lang.String name, SqlParserPos pos)
Returns an identifier that is the same as this except with a component added at a given position.SqlIdentifier
SqlDelete. getAlias()
SqlIdentifier
SqlMerge. getAlias()
SqlIdentifier
SqlUpdate. getAlias()
SqlIdentifier
SqlDataTypeSpec. getCollectionsTypeName()
SqlIdentifier
SqlDescribeTable. getColumn()
SqlIdentifier
SqlIdentifier. getComponent(int ordinal)
Creates an identifier which contains only theordinal
th component of this compound identifier.SqlIdentifier
SqlIdentifier. getComponent(int from, int to)
SqlIdentifier
SqlWindow. getDeclName()
SqlIdentifier
SqlSetOption. getName()
SqlIdentifier
SqlFunction. getNameAsId()
SqlIdentifier
SqlOperator. getNameAsId()
Returns the fully-qualified name of this operator.SqlIdentifier
SqlWindow. getRefName()
SqlIdentifier
SqlDescribeSchema. getSchema()
SqlIdentifier
SqlFunction. getSqlIdentifier()
SqlIdentifier
SqlDescribeTable. getTable()
SqlIdentifier
SqlDataTypeSpec. getTypeName()
SqlIdentifier
SqlIdentifier. plus(java.lang.String name, SqlParserPos pos)
Creates an identifier that consists of this identifier plus a name segment.SqlIdentifier
SqlIdentifier. plusStar()
Creates an identifier that consists of this identifier plus a wildcard star.SqlIdentifier
SqlIdentifier. setName(int i, java.lang.String name)
Returns an identifier that is the same as this except one modified name.SqlIdentifier
SqlIdentifier. skipLast(int n)
Creates an identifier that consists of all but the lastn
name segments of this one.static SqlIdentifier
SqlIdentifier. star(java.util.List<java.lang.String> names, SqlParserPos pos, java.util.List<SqlParserPos> componentPositions)
Creates an identifier that ends in a wildcard star.static SqlIdentifier
SqlIdentifier. star(SqlParserPos pos)
Creates an identifier that is a singleton wildcard star.Methods in org.apache.calcite.sql with parameters of type SqlIdentifier Modifier and Type Method Description void
SqlIdentifier. assignNamesFrom(SqlIdentifier other)
Copies names and components from another identifier.static SqlWindow
SqlWindow. create(SqlIdentifier declName, SqlIdentifier refName, SqlNodeList partitionList, SqlNodeList orderList, SqlLiteral isRows, SqlNode lowerBound, SqlNode upperBound, SqlLiteral allowPartial, SqlParserPos pos)
void
SqlOperatorTable. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
Retrieves a list of operators with a given name and syntax.static SqlOperator
SqlUtil. lookupRoutine(SqlOperatorTable opTab, SqlIdentifier funcName, java.util.List<RelDataType> argTypes, java.util.List<java.lang.String> argNames, SqlFunctionCategory category, SqlSyntax syntax, SqlKind sqlKind)
Looks up a (possibly overloaded) routine based on name and argument types.static java.util.Iterator<SqlOperator>
SqlUtil. lookupSubjectRoutines(SqlOperatorTable opTab, SqlIdentifier funcName, java.util.List<RelDataType> argTypes, java.util.List<java.lang.String> argNames, SqlSyntax sqlSyntax, SqlKind sqlKind, SqlFunctionCategory category)
Looks up all subject routines matching the given name and argument types.private static java.util.Iterator<SqlOperator>
SqlUtil. lookupSubjectRoutinesByName(SqlOperatorTable opTab, SqlIdentifier funcName, SqlSyntax syntax, SqlFunctionCategory category)
static SqlCall
SqlUtil. makeCall(SqlOperatorTable opTab, SqlIdentifier id)
If an identifier is a legitimate call to a function which has no arguments and requires no parentheses (for example "CURRENT_USER"), returns a call to that function, otherwise returns null.static boolean
SqlUtil. matchRoutinesByParameterCount(SqlOperatorTable opTab, SqlIdentifier funcName, java.util.List<RelDataType> argTypes, SqlFunctionCategory category)
Determines whether there is a routine matching the given name and number of arguments.void
SqlUpdate. setAlias(SqlIdentifier alias)
void
SqlWindow. setDeclName(SqlIdentifier declName)
void
SqlSetOption. setName(SqlIdentifier name)
java.lang.Void
SqlUtil.Genealogist. visit(SqlIdentifier id)
Constructors in org.apache.calcite.sql with parameters of type SqlIdentifier Constructor Description SqlAggFunction(java.lang.String name, SqlIdentifier sqlIdentifier, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory funcType)
Deprecated.SqlAggFunction(java.lang.String name, SqlIdentifier sqlIdentifier, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory funcType, boolean requiresOrder, boolean requiresOver)
Deprecated.SqlAggFunction(java.lang.String name, SqlIdentifier sqlIdentifier, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory funcType, boolean requiresOrder, boolean requiresOver, Optionality requiresGroupOrder)
Creates a built-in or user-defined SqlAggFunction or window function.SqlDataTypeSpec(SqlIdentifier typeName, int precision, int scale, java.lang.String charSetName, java.util.TimeZone timeZone, SqlParserPos pos)
Creates a type specification representing a regular, non-collection type.SqlDataTypeSpec(SqlIdentifier collectionsTypeName, SqlIdentifier typeName, int precision, int scale, java.lang.String charSetName, java.util.TimeZone timeZone, java.lang.Boolean nullable, SqlParserPos pos)
Creates a type specification that has no base type.SqlDataTypeSpec(SqlIdentifier collectionsTypeName, SqlIdentifier typeName, int precision, int scale, java.lang.String charSetName, SqlParserPos pos)
Creates a type specification representing a collection type.SqlDataTypeSpec(SqlIdentifier collectionsTypeName, SqlIdentifier typeName, SqlIdentifier baseTypeName, int precision, int scale, java.lang.String charSetName, java.util.TimeZone timeZone, java.lang.Boolean nullable, SqlParserPos pos)
Creates a type specification.SqlDelete(SqlParserPos pos, SqlNode targetTable, SqlNode condition, SqlSelect sourceSelect, SqlIdentifier alias)
SqlDescribeSchema(SqlParserPos pos, SqlIdentifier schema)
Creates a SqlDescribeSchema.SqlDescribeTable(SqlParserPos pos, SqlIdentifier table, SqlIdentifier column)
Creates a SqlDescribeTable.SqlFunction(java.lang.String name, SqlIdentifier sqlIdentifier, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, SqlFunctionCategory category)
Internal constructor.SqlFunction(SqlIdentifier sqlIdentifier, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, SqlFunctionCategory funcType)
Creates a placeholder SqlFunction for an invocation of a function with a possibly qualified name.SqlMerge(SqlParserPos pos, SqlNode targetTable, SqlNode condition, SqlNode source, SqlUpdate updateCall, SqlInsert insertCall, SqlSelect sourceSelect, SqlIdentifier alias)
SqlSetOption(SqlParserPos pos, java.lang.String scope, SqlIdentifier name, SqlNode value)
Creates a node.SqlUnresolvedFunction(SqlIdentifier sqlIdentifier, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, SqlFunctionCategory funcType)
Creates a placeholder SqlUnresolvedFunction for an invocation of a function with a possibly qualified name.SqlUpdate(SqlParserPos pos, SqlNode targetTable, SqlNodeList targetColumnList, SqlNodeList sourceExpressionList, SqlNode condition, SqlSelect sourceSelect, SqlIdentifier alias)
SqlWindow(SqlParserPos pos, SqlIdentifier declName, SqlIdentifier refName, SqlNodeList partitionList, SqlNodeList orderList, SqlLiteral isRows, SqlNode lowerBound, SqlNode upperBound, SqlLiteral allowPartial)
Creates a window.SqlWithItem(SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList, SqlNode query)
-
Uses of SqlIdentifier in org.apache.calcite.sql.advise
Methods in org.apache.calcite.sql.advise with parameters of type SqlIdentifier Modifier and Type Method Description private void
SqlAdvisorValidator. registerId(SqlIdentifier id, SqlValidatorScope scope)
void
SqlAdvisorValidator. validateIdentifier(SqlIdentifier id, SqlValidatorScope scope)
Registers the identifier and its scope into a map keyed by ParserPosition. -
Uses of SqlIdentifier in org.apache.calcite.sql.ddl
Fields in org.apache.calcite.sql.ddl declared as SqlIdentifier Modifier and Type Field Description (package private) SqlIdentifier
SqlAttributeDefinition. name
private SqlIdentifier
SqlCheckConstraint. name
(package private) SqlIdentifier
SqlColumnDeclaration. name
private SqlIdentifier
SqlCreateForeignSchema. name
private SqlIdentifier
SqlCreateFunction. name
private SqlIdentifier
SqlCreateMaterializedView. name
private SqlIdentifier
SqlCreateSchema. name
private SqlIdentifier
SqlCreateTable. name
private SqlIdentifier
SqlCreateType. name
private SqlIdentifier
SqlCreateView. name
protected SqlIdentifier
SqlDropObject. name
private SqlIdentifier
SqlDropSchema. name
private SqlIdentifier
SqlKeyConstraint. name
Methods in org.apache.calcite.sql.ddl that return types with arguments of type SqlIdentifier Modifier and Type Method Description private static java.util.List<Pair<SqlIdentifier,SqlNode>>
SqlCreateForeignSchema. options(SqlNodeList optionList)
Methods in org.apache.calcite.sql.ddl with parameters of type SqlIdentifier Modifier and Type Method Description static SqlNode
SqlDdlNodes. attribute(SqlParserPos pos, SqlIdentifier name, SqlDataTypeSpec dataType, SqlNode expression, SqlCollation collation)
Creates a attribute definition.static SqlNode
SqlDdlNodes. check(SqlParserPos pos, SqlIdentifier name, SqlNode expression)
Creates a CHECK constraint.static SqlNode
SqlDdlNodes. column(SqlParserPos pos, SqlIdentifier name, SqlDataTypeSpec dataType, SqlNode expression, ColumnStrategy strategy)
Creates a column declaration.static SqlCreateForeignSchema
SqlDdlNodes. createForeignSchema(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNode type, SqlNode library, SqlNodeList optionList)
Creates a CREATE FOREIGN SCHEMA.static SqlCreateFunction
SqlDdlNodes. createFunction(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNode className, SqlNodeList usingList)
Creates a CREATE FUNCTION.static SqlCreateMaterializedView
SqlDdlNodes. createMaterializedView(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNodeList columnList, SqlNode query)
Creates a CREATE MATERIALIZED VIEW.static SqlCreateSchema
SqlDdlNodes. createSchema(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name)
Creates a CREATE SCHEMA.static SqlCreateTable
SqlDdlNodes. createTable(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNodeList columnList, SqlNode query)
Creates a CREATE TABLE.static SqlCreateType
SqlDdlNodes. createType(SqlParserPos pos, boolean replace, SqlIdentifier name, SqlNodeList attributeList, SqlDataTypeSpec dataTypeSpec)
Creates a CREATE TYPE.static SqlCreateView
SqlDdlNodes. createView(SqlParserPos pos, boolean replace, SqlIdentifier name, SqlNodeList columnList, SqlNode query)
Creates a CREATE VIEW.static SqlDrop
SqlDdlNodes. dropFunction(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a DROP FUNCTION.static SqlDrop
SqlDdlNodes. dropMaterializedView(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a DROP MATERIALIZED VIEW.static SqlDropSchema
SqlDdlNodes. dropSchema(SqlParserPos pos, boolean foreign, boolean ifExists, SqlIdentifier name)
Creates a DROP [ FOREIGN ] SCHEMA.static SqlDropTable
SqlDdlNodes. dropTable(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a DROP TABLE.static SqlDropType
SqlDdlNodes. dropType(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a DROP TYPE.static SqlDrop
SqlDdlNodes. dropView(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a DROP VIEW.protected static void
SqlDdlNodes. populate(SqlIdentifier name, SqlNode query, CalcitePrepare.Context context)
Populates the table calledname
by executingquery
.static SqlKeyConstraint
SqlDdlNodes. primary(SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList)
Creates a PRIMARY KEY constraint.static SqlKeyConstraint
SqlKeyConstraint. primary(SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList)
Creates a PRIMARY KEY constraint.(package private) static Pair<CalciteSchema,java.lang.String>
SqlDdlNodes. schema(CalcitePrepare.Context context, boolean mutable, SqlIdentifier id)
Returns the schema in which to create an object.static SqlKeyConstraint
SqlDdlNodes. unique(SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList)
Creates a UNIQUE constraint.static SqlKeyConstraint
SqlKeyConstraint. unique(SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList)
Creates a UNIQUE constraint.Constructors in org.apache.calcite.sql.ddl with parameters of type SqlIdentifier Constructor Description SqlAttributeDefinition(SqlParserPos pos, SqlIdentifier name, SqlDataTypeSpec dataType, SqlNode expression, SqlCollation collation)
SqlCheckConstraint(SqlParserPos pos, SqlIdentifier name, SqlNode expression)
Creates a SqlCheckConstraint; useSqlDdlNodes.check(org.apache.calcite.sql.parser.SqlParserPos, org.apache.calcite.sql.SqlIdentifier, org.apache.calcite.sql.SqlNode)
.SqlColumnDeclaration(SqlParserPos pos, SqlIdentifier name, SqlDataTypeSpec dataType, SqlNode expression, ColumnStrategy strategy)
SqlCreateForeignSchema(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNode type, SqlNode library, SqlNodeList optionList)
Creates a SqlCreateForeignSchema.SqlCreateFunction(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNode className, SqlNodeList usingList)
Creates a SqlCreateFunction.SqlCreateMaterializedView(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNodeList columnList, SqlNode query)
Creates a SqlCreateView.SqlCreateSchema(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name)
Creates a SqlCreateSchema.SqlCreateTable(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNodeList columnList, SqlNode query)
Creates a SqlCreateTable.SqlCreateType(SqlParserPos pos, boolean replace, SqlIdentifier name, SqlNodeList attributeDefs, SqlDataTypeSpec dataType)
Creates a SqlCreateType.SqlCreateView(SqlParserPos pos, boolean replace, SqlIdentifier name, SqlNodeList columnList, SqlNode query)
Creates a SqlCreateView.SqlDropFunction(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a SqlDropFunction.SqlDropMaterializedView(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a SqlDropMaterializedView.SqlDropObject(SqlOperator operator, SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a SqlDropObject.SqlDropSchema(SqlParserPos pos, boolean foreign, boolean ifExists, SqlIdentifier name)
Creates a SqlDropSchema.SqlDropTable(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a SqlDropTable.SqlDropType(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
SqlDropView(SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a SqlDropView.SqlKeyConstraint(SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList)
Creates a SqlKeyConstraint. -
Uses of SqlIdentifier in org.apache.calcite.sql.parser
Methods in org.apache.calcite.sql.parser with parameters of type SqlIdentifier Modifier and Type Method Description protected SqlCall
SqlAbstractParserImpl. createCall(SqlIdentifier funName, SqlParserPos pos, SqlFunctionCategory funcType, SqlLiteral functionQualifier, java.lang.Iterable<? extends SqlNode> operands)
Creates a call.protected SqlCall
SqlAbstractParserImpl. createCall(SqlIdentifier funName, SqlParserPos pos, SqlFunctionCategory funcType, SqlLiteral functionQualifier, SqlNode[] operands)
Creates a call. -
Uses of SqlIdentifier in org.apache.calcite.sql.type
Fields in org.apache.calcite.sql.type declared as SqlIdentifier Modifier and Type Field Description private SqlIdentifier
ObjectSqlType. sqlIdentifier
Methods in org.apache.calcite.sql.type that return SqlIdentifier Modifier and Type Method Description SqlIdentifier
ObjectSqlType. getSqlIdentifier()
Constructors in org.apache.calcite.sql.type with parameters of type SqlIdentifier Constructor Description ObjectSqlType(SqlTypeName typeName, SqlIdentifier sqlIdentifier, boolean nullable, java.util.List<? extends RelDataTypeField> fields, RelDataTypeComparability comparability)
Constructs an object type. -
Uses of SqlIdentifier in org.apache.calcite.sql.util
Methods in org.apache.calcite.sql.util with parameters of type SqlIdentifier Modifier and Type Method Description void
ChainedSqlOperatorTable. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
void
ListSqlOperatorTable. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
void
ReflectiveSqlOperatorTable. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
R
SqlBasicVisitor. visit(SqlIdentifier id)
SqlNode
SqlShuttle. visit(SqlIdentifier id)
R
SqlVisitor. visit(SqlIdentifier id)
Visits an identifier. -
Uses of SqlIdentifier in org.apache.calcite.sql.validate
Fields in org.apache.calcite.sql.validate declared as SqlIdentifier Modifier and Type Field Description private SqlIdentifier
IdentifierNamespace. id
private SqlIdentifier
SqlIdentifierMoniker. id
SqlIdentifier
SqlValidatorImpl.IdInfo. id
SqlIdentifier
SqlQualified. identifier
Methods in org.apache.calcite.sql.validate that return SqlIdentifier Modifier and Type Method Description SqlIdentifier
IdentifierNamespace. getId()
SqlIdentifier
SqlIdentifierMoniker. toIdentifier()
SqlIdentifier
SqlMoniker. toIdentifier()
Creates aSqlIdentifier
containing the fully-qualified name.SqlIdentifier
SqlMonikerImpl. toIdentifier()
Methods in org.apache.calcite.sql.validate that return types with arguments of type SqlIdentifier Modifier and Type Method Description private static java.util.List<Pair<SqlIdentifier,SqlDataTypeSpec>>
SqlValidatorUtil. pairs(SqlNodeList extendedColumns)
Converts a list of extended columns (of the form [name0, type0, name1, type1, ...]) into a list of (name, type) pairs.protected static Pair<SqlIdentifier,SqlNodeList>
IdentifierNamespace. split(SqlNode node)
Methods in org.apache.calcite.sql.validate with parameters of type SqlIdentifier Modifier and Type Method Description private boolean
SqlValidatorImpl. addOrExpandField(java.util.List<SqlNode> selectItems, java.util.Set<java.lang.String> aliases, java.util.List<java.util.Map.Entry<java.lang.String,RelDataType>> fields, boolean includeSystemVars, SelectScope scope, SqlIdentifier id, RelDataTypeField field)
private void
SqlValidatorImpl. checkRollUpInUsing(SqlIdentifier identifier, SqlNode leftOrRight)
static java.util.List<java.lang.Object>
SqlUserDefinedTableMacro. convertArguments(RelDataTypeFactory typeFactory, java.util.List<SqlNode> operandList, Function function, SqlIdentifier opName, boolean failOnNonLiteral)
Converts arguments fromSqlNode
to java object format.static SqlQualified
SqlQualified. create(SqlValidatorScope scope, int prefixLength, SqlValidatorNamespace namespace, SqlIdentifier identifier)
protected SqlNode
SqlValidatorImpl.Expander. expandDynamicStar(SqlIdentifier id, SqlIdentifier fqId)
private Pair<java.lang.String,java.lang.String>
SqlValidatorImpl. findTableColumnPair(SqlIdentifier identifier, SqlValidatorScope scope)
SqlQualified
DelegatingScope. fullyQualify(SqlIdentifier identifier)
Converts an identifier into a fully-qualified identifier.SqlQualified
EmptyScope. fullyQualify(SqlIdentifier identifier)
SqlQualified
OrderByScope. fullyQualify(SqlIdentifier identifier)
SqlQualified
ParameterScope. fullyQualify(SqlIdentifier identifier)
SqlQualified
SqlValidatorScope. fullyQualify(SqlIdentifier identifier)
Converts an identifier into a fully-qualified identifier.RelDataType
DelegatingSqlValidatorCatalogReader. getNamedType(SqlIdentifier typeName)
RelDataType
SqlValidatorCatalogReader. getNamedType(SqlIdentifier typeName)
Finds a user-defined type with the given name, possibly qualified.private SqlValidatorNamespace
SqlValidatorImpl. getNamespace(SqlIdentifier id, DelegatingScope scope)
static RelDataTypeField
SqlValidatorUtil. getTargetField(RelDataType rowType, RelDataTypeFactory typeFactory, SqlIdentifier id, SqlValidatorCatalogReader catalogReader, RelOptTable table)
Resolve a target column name in the target table.static CalciteSchema.TypeEntry
SqlValidatorUtil. getTypeEntry(CalciteSchema rootSchema, SqlIdentifier typeName)
Finds aCalciteSchema.TypeEntry
in a given schema whose type has the given name, possibly qualified.protected SqlWindow
SqlValidatorImpl. getWindowByName(SqlIdentifier id, SqlValidatorScope scope)
private boolean
SqlValidatorImpl. isRolledUpColumn(SqlIdentifier identifier, SqlValidatorScope scope)
private boolean
SqlValidatorImpl. isRolledUpColumnAllowedInAgg(SqlIdentifier identifier, SqlValidatorScope scope, SqlCall aggCall, SqlNode parent)
private SqlValidatorNamespace
IdentifierNamespace. resolveImpl(SqlIdentifier id)
void
SqlValidator. validateIdentifier(SqlIdentifier id, SqlValidatorScope scope)
Resolves an identifier to a fully-qualified name.void
SqlValidatorImpl. validateIdentifier(SqlIdentifier id, SqlValidatorScope scope)
void
SqlValidator. validateSequenceValue(SqlValidatorScope scope, SqlIdentifier id)
void
SqlValidatorImpl. validateSequenceValue(SqlValidatorScope scope, SqlIdentifier id)
private RelDataType
SqlValidatorImpl. validateUsingCol(SqlIdentifier id, SqlNode leftOrRight)
java.lang.Void
AggChecker. visit(SqlIdentifier id)
RelDataType
SqlValidatorImpl.DeriveTypeVisitor. visit(SqlIdentifier id)
SqlNode
SqlValidatorImpl.Expander. visit(SqlIdentifier id)
SqlNode
SqlValidatorImpl.ExtendedExpander. visit(SqlIdentifier id)
SqlNode
SqlValidatorImpl.NavigationExpander. visit(SqlIdentifier id)
SqlNode
SqlValidatorImpl.NavigationReplacer. visit(SqlIdentifier id)
SqlNode
SqlValidatorImpl.OrderExpressionExpander. visit(SqlIdentifier id)
java.util.Set<java.lang.String>
SqlValidatorImpl.PatternValidator. visit(SqlIdentifier identifier)
java.lang.Void
SqlValidatorImpl.PatternVarVisitor. visit(SqlIdentifier id)
SqlNode
SqlValidatorUtil.DeepCopier. visit(SqlIdentifier id)
Deprecated.Constructors in org.apache.calcite.sql.validate with parameters of type SqlIdentifier Constructor Description IdentifierNamespace(SqlValidatorImpl validator, SqlIdentifier id, SqlNodeList extendList, SqlNode enclosingNode, SqlValidatorScope parentScope)
Creates an IdentifierNamespace.IdInfo(SqlValidatorScope scope, SqlIdentifier id)
SqlIdentifierMoniker(SqlIdentifier id)
Creates an SqlIdentifierMoniker.SqlQualified(SqlValidatorScope scope, int prefixLength, SqlValidatorNamespace namespace, SqlIdentifier identifier)
SqlUserDefinedAggFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, AggregateFunction function, boolean requiresOrder, boolean requiresOver, Optionality requiresGroupOrder, RelDataTypeFactory typeFactory)
Creates a SqlUserDefinedAggFunction.SqlUserDefinedFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, Function function)
Creates aSqlUserDefinedFunction
.SqlUserDefinedFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, Function function, SqlFunctionCategory category)
Constructor used internally and by derived classes.SqlUserDefinedTableFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, TableFunction function)
SqlUserDefinedTableMacro(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, TableMacro tableMacro)
-
Uses of SqlIdentifier in org.apache.calcite.sql2rel
Methods in org.apache.calcite.sql2rel with parameters of type SqlIdentifier Modifier and Type Method Description private RexNode
SqlToRelConverter. convertIdentifier(SqlToRelConverter.Blackboard bb, SqlIdentifier identifier)
Converts an identifier into an expression in a given scope.private void
SqlToRelConverter. convertIdentifier(SqlToRelConverter.Blackboard bb, SqlIdentifier id, SqlNodeList extendedColumns)
java.lang.Void
SqlToRelConverter.AggConverter. visit(SqlIdentifier id)
RexNode
SqlToRelConverter.Blackboard. visit(SqlIdentifier id)
-