Package org.apache.calcite.prepare
Class CalciteSqlValidator
- java.lang.Object
-
- org.apache.calcite.sql.validate.SqlValidatorImpl
-
- org.apache.calcite.prepare.CalciteSqlValidator
-
- All Implemented Interfaces:
SqlValidator
,SqlValidatorWithHints
class CalciteSqlValidator extends SqlValidatorImpl
Validator.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.sql.validate.SqlValidatorImpl
SqlValidatorImpl.DmlNamespace, SqlValidatorImpl.FunctionParamInfo, SqlValidatorImpl.IdInfo, SqlValidatorImpl.Status
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.sql.validate.SqlValidatorImpl
expandColumnReferences, expandIdentifiers, functionCallStack, idPositions, namespaces, scopes, TRACER, typeFactory, unknownType, UPDATE_ANON_PREFIX, UPDATE_SRC_ALIAS, UPDATE_TGT_ALIAS
-
Fields inherited from interface org.apache.calcite.sql.validate.SqlValidator
STRICT
-
-
Constructor Summary
Constructors Constructor Description CalciteSqlValidator(SqlOperatorTable opTab, CalciteCatalogReader catalogReader, JavaTypeFactory typeFactory, SqlConformance conformance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RelDataType
getLogicalSourceRowType(RelDataType sourceRowType, SqlInsert insert)
protected RelDataType
getLogicalTargetRowType(RelDataType targetRowType, SqlInsert insert)
-
Methods inherited from class org.apache.calcite.sql.validate.SqlValidatorImpl
addToSelectList, checkTypeAssignment, createMatchRecognizeNameSpace, createSelectNamespace, createSetopNamespace, createSourceSelectForDelete, createSourceSelectForUpdate, createTargetRowType, declareCursor, deriveAlias, deriveConstructorType, deriveType, expand, expandGroupByOrHavingExpr, expandOrderExpr, expandStar, getAggregate, getCatalogReader, getColumnReferenceExpansion, getConformance, getCursorScope, getDefaultNullCollation, getEmptyScope, getFieldOrigins, getFromScope, getGroupScope, getHavingScope, getJoinScope, getMatchRecognizeScope, getNamespace, getOperatorTable, getOrderScope, getOriginal, getOverScope, getParameterRowType, getParentCursor, getRawSelectScope, getSelectScope, getSelfJoinExprForUpdate, getTypeFactory, getUnknownType, getValidatedNodeType, getValidatedNodeTypeIfKnown, getValidationErrorFunction, getWhereScope, getWindowByName, getWithScope, handleUnresolvedFunction, inferUnknownTypes, isAggregate, isAggregate, isNestedAggregateWindow, isOverAggregateWindow, isSystemField, lookupHints, lookupNameCompletionHints, lookupQualifiedName, newValidationError, performUnconditionalRewrites, popFunctionCall, pushFunctionCall, registerNamespace, removeValidatedNodeType, resolveWindow, setCallRewrite, setColumnReferenceExpansion, setDefaultNullCollation, setIdentifierExpansion, setOriginal, setValidatedNodeType, shouldAllowIntermediateOrderBy, shouldAllowOverRelation, shouldExpandIdentifiers, validate, validateAggregateParams, validateCall, validateColumnListParams, validateDataType, validateDelete, validateDynamicParam, validateFeature, validateFrom, validateGroupClause, validateHavingClause, validateIdentifier, validateInsert, validateIntervalQualifier, validateJoin, validateLiteral, validateMatchRecognize, validateMerge, validateModality, validateNamespace, validateOrderList, validateOver, validateParameterizedExpression, validateQuery, validateSelect, validateSelectList, validateSequenceValue, validateUnnest, validateUpdate, validateValues, validateWhereClause, validateWhereOrOn, validateWindow, validateWindowClause, validateWith, validateWithItem
-
-
-
-
Constructor Detail
-
CalciteSqlValidator
CalciteSqlValidator(SqlOperatorTable opTab, CalciteCatalogReader catalogReader, JavaTypeFactory typeFactory, SqlConformance conformance)
-
-
Method Detail
-
getLogicalSourceRowType
protected RelDataType getLogicalSourceRowType(RelDataType sourceRowType, SqlInsert insert)
- Overrides:
getLogicalSourceRowType
in classSqlValidatorImpl
-
getLogicalTargetRowType
protected RelDataType getLogicalTargetRowType(RelDataType targetRowType, SqlInsert insert)
- Overrides:
getLogicalTargetRowType
in classSqlValidatorImpl
-
-