Class SqlValidatorFeatureTest.FeatureValidator

  • All Implemented Interfaces:
    org.apache.calcite.sql.validate.SqlValidator, org.apache.calcite.sql.validate.SqlValidatorWithHints
    Enclosing class:
    SqlValidatorFeatureTest

    public class SqlValidatorFeatureTest.FeatureValidator
    extends org.apache.calcite.sql.validate.SqlValidatorImpl
    Extension to SqlValidatorImpl that validates features.
    • 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.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
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FeatureValidator​(org.apache.calcite.sql.SqlOperatorTable opTab, org.apache.calcite.sql.validate.SqlValidatorCatalogReader catalogReader, org.apache.calcite.rel.type.RelDataTypeFactory typeFactory, org.apache.calcite.sql.validate.SqlConformance conformance)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void validateFeature​(org.apache.calcite.runtime.Feature feature, org.apache.calcite.sql.parser.SqlParserPos context)  
      • 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, getLogicalSourceRowType, getLogicalTargetRowType, getMatchRecognizeScope, getNamespace, getOperatorTable, getOrderScope, getOriginal, getOverScope, getParameterRowType, getParentCursor, getRawSelectScope, getSelectScope, getSelfJoinExprForUpdate, getTypeCoercion, getTypeFactory, getUnknownType, getValidatedNodeType, getValidatedNodeTypeIfKnown, getValidationErrorFunction, getWhereScope, getWindowByName, getWithScope, handleUnresolvedFunction, inferUnknownTypes, isAggregate, isAggregate, isNestedAggregateWindow, isOverAggregateWindow, isSystemField, isTypeCoercionEnabled, lookupHints, lookupNameCompletionHints, lookupQualifiedName, makeNullaryCall, newValidationError, performUnconditionalRewrites, popFunctionCall, pushFunctionCall, registerNamespace, removeValidatedNodeType, resolveWindow, setCallRewrite, setColumnReferenceExpansion, setDefaultNullCollation, setEnableTypeCoercion, setIdentifierExpansion, setOriginal, setTypeCoercion, setValidatedNodeType, shouldAllowIntermediateOrderBy, shouldAllowOverRelation, shouldExpandIdentifiers, validate, validateAggregateParams, validateCall, validateColumnListParams, validateDataType, validateDelete, validateDynamicParam, 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FeatureValidator

        protected FeatureValidator​(org.apache.calcite.sql.SqlOperatorTable opTab,
                                   org.apache.calcite.sql.validate.SqlValidatorCatalogReader catalogReader,
                                   org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
                                   org.apache.calcite.sql.validate.SqlConformance conformance)
    • Method Detail

      • validateFeature

        protected void validateFeature​(org.apache.calcite.runtime.Feature feature,
                                       org.apache.calcite.sql.parser.SqlParserPos context)
        Overrides:
        validateFeature in class org.apache.calcite.sql.validate.SqlValidatorImpl