Class SqlToRelTestBase.FarragoTestValidator

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

    private static class SqlToRelTestBase.FarragoTestValidator
    extends org.apache.calcite.sql.validate.SqlValidatorImpl
    Validator for testing.
    • 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 
      Constructor Description
      FarragoTestValidator​(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
      boolean shouldExpandIdentifiers()  
      • 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, 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
      • Methods inherited from class java.lang.Object

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

      • FarragoTestValidator

        FarragoTestValidator​(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

      • shouldExpandIdentifiers

        public boolean shouldExpandIdentifiers()
        Specified by:
        shouldExpandIdentifiers in interface org.apache.calcite.sql.validate.SqlValidator
        Overrides:
        shouldExpandIdentifiers in class org.apache.calcite.sql.validate.SqlValidatorImpl