Package org.apache.calcite.prepare
Class BaseDruidSqlValidator
java.lang.Object
org.apache.calcite.sql.validate.SqlValidatorImpl
org.apache.calcite.prepare.CalciteSqlValidator
org.apache.calcite.prepare.BaseDruidSqlValidator
- All Implemented Interfaces:
org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorWithHints
- Direct Known Subclasses:
DruidSqlValidator
public class BaseDruidSqlValidator
extends org.apache.calcite.prepare.CalciteSqlValidator
Extend the Java-focused
CalciteSqlValidator to make it visible
to Druid. CalciteSqlValidator itself is protected and can be
extended only if this class is in the same Calcite package.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.sql.validate.SqlValidatorImpl
org.apache.calcite.sql.validate.SqlValidatorImpl.DmlNamespace, org.apache.calcite.sql.validate.SqlValidatorImpl.FunctionParamInfo, org.apache.calcite.sql.validate.SqlValidatorImpl.IdInfo, org.apache.calcite.sql.validate.SqlValidatorImpl.StatusNested classes/interfaces inherited from interface org.apache.calcite.sql.validate.SqlValidator
org.apache.calcite.sql.validate.SqlValidator.Config -
Field Summary
Fields inherited from class org.apache.calcite.sql.validate.SqlValidatorImpl
callToOperandTypesMap, functionCallStack, idPositions, namespaces, scopes, timeFrameSet, TRACER, typeFactory, unknownType, UPDATE_ANON_PREFIX, UPDATE_SRC_ALIAS, UPDATE_TGT_ALIAS -
Constructor Summary
ConstructorsConstructorDescriptionBaseDruidSqlValidator(org.apache.calcite.sql.SqlOperatorTable opTab, org.apache.calcite.prepare.CalciteCatalogReader catalogReader, org.apache.calcite.adapter.java.JavaTypeFactory typeFactory, org.apache.calcite.sql.validate.SqlValidator.Config validatorConfig) -
Method Summary
Methods inherited from class org.apache.calcite.prepare.CalciteSqlValidator
getLogicalSourceRowType, getLogicalTargetRowTypeMethods inherited from class org.apache.calcite.sql.validate.SqlValidatorImpl
addToSelectList, checkTypeAssignment, config, createMatchRecognizeNameSpace, createPivotNameSpace, createSelectNamespace, createSetopNamespace, createSourceSelectForDelete, createSourceSelectForUpdate, createTargetRowType, createUnpivotNameSpace, declareCursor, deriveAlias, deriveConstructorType, deriveType, expand, expandOrderExpr, expandSelectExpr, expandStar, extendedExpandGroupBy, getAggregate, getCatalogReader, getConformance, getCursorScope, getEmptyScope, getFieldOrigins, getFromScope, getGroupScope, getHavingScope, getJoinScope, getLambdaScope, getMatchRecognizeScope, getNamespace, getOperatorTable, getOrderScope, getOriginal, getOverScope, getParameterRowType, getParentCursor, getRawSelectScope, getSelectScope, getSelfJoinExprForUpdate, getTimeFrameSet, getTypeCoercion, getTypeFactory, getUnknownType, getValidatedNodeType, getValidatedNodeTypeIfKnown, getValidatedOperandTypes, getValidationErrorFunction, getWhereScope, getWindowByName, getWithScope, handleUnresolvedFunction, inferUnknownTypes, isAggregate, isAggregate, isNestedAggregateWindow, isOverAggregateWindow, isSystemField, lookupHints, lookupNameCompletionHints, lookupQualifiedName, makeNullaryCall, newValidationError, performUnconditionalRewrites, popFunctionCall, pushFunctionCall, registerNamespace, registerQuery, removeValidatedNodeType, resolveLiteral, resolveWindow, setOriginal, setValidatedNodeType, shouldAllowIntermediateOrderBy, shouldAllowOverRelation, transform, usingNames, validate, validateAggregateParams, validateCall, validateDataType, validateDelete, validateDynamicParam, validateFeature, validateFrom, validateGroupClause, validateHavingClause, validateIdentifier, validateInsert, validateIntervalQualifier, validateJoin, validateLambda, validateLiteral, validateMatchRecognize, validateMerge, validateModality, validateNamespace, validateOrderList, validateOver, validateParameterizedExpression, validatePivot, validateQualifyClause, validateQuery, validateSelect, validateSelectList, validateSequenceValue, validateTableFunction, validateTimeFrame, validateUnnest, validateUnpivot, validateUpdate, validateValues, validateWhereClause, validateWhereOrOn, validateWindow, validateWindowClause, validateWith, validateWithItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.calcite.sql.validate.SqlValidator
getTypeMappingRule, resolveWindow
-
Constructor Details
-
BaseDruidSqlValidator
public BaseDruidSqlValidator(org.apache.calcite.sql.SqlOperatorTable opTab, org.apache.calcite.prepare.CalciteCatalogReader catalogReader, org.apache.calcite.adapter.java.JavaTypeFactory typeFactory, org.apache.calcite.sql.validate.SqlValidator.Config validatorConfig)
-