org.eigenbase.test
Class SqlToRelTestBase.FarragoTestValidator

java.lang.Object
  extended by org.eigenbase.sql.validate.SqlValidatorImpl
      extended by org.eigenbase.test.SqlToRelTestBase.FarragoTestValidator
All Implemented Interfaces:
SqlValidator, SqlValidatorWithHints
Enclosing class:
SqlToRelTestBase

private static class SqlToRelTestBase.FarragoTestValidator
extends SqlValidatorImpl


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eigenbase.sql.validate.SqlValidatorImpl
SqlValidatorImpl.DmlNamespace, SqlValidatorImpl.FunctionParamInfo, SqlValidatorImpl.IdInfo, SqlValidatorImpl.Status
 
Nested classes/interfaces inherited from interface org.eigenbase.sql.validate.SqlValidator
SqlValidator.Compatible
 
Field Summary
 
Fields inherited from class org.eigenbase.sql.validate.SqlValidatorImpl
expandColumnReferences, expandIdentifiers, functionCallStack, idPositions, namespaces, scopes, tracer, typeFactory, unknownType, UPDATE_ANON_PREFIX, UPDATE_SRC_ALIAS, UPDATE_TGT_ALIAS
 
Constructor Summary
SqlToRelTestBase.FarragoTestValidator(SqlOperatorTable opTab, SqlValidatorCatalogReader catalogReader, RelDataTypeFactory typeFactory, SqlConformance conformance)
           
 
Method Summary
 boolean shouldExpandIdentifiers()
          Returns expansion of identifiers.
 
Methods inherited from class org.eigenbase.sql.validate.SqlValidatorImpl
addToSelectList, checkTypeAssignment, createSelectNamespace, createSetopNamespace, createSourceSelectForDelete, createSourceSelectForUpdate, createTargetRowType, declareCursor, deriveAlias, deriveConstructorType, deriveType, expand, expandOrderExpr, expandStar, getCatalogReader, getConformance, getCursorScope, getFromScope, getGroupScope, getHavingScope, getJoinScope, getLogicalSourceRowType, getLogicalTargetRowType, getNamespace, getOperatorTable, getOrderScope, getOriginal, getOverScope, getParentCursor, getRawSelectScope, getScope, getSelectScope, getSelfJoinExprForUpdate, getTypeFactory, getUnknownType, getValidatedNodeType, getValidatedNodeTypeIfKnown, getWhereScope, getWindowByName, handleUnresolvedFunction, inferUnknownTypes, isAggregate, isAggregate, isSystemField, lookupHints, lookupNameCompletionHints, lookupQualifiedName, newValidationError, performUnconditionalRewrites, popFunctionCall, pushFunctionCall, registerNamespace, removeValidatedNodeType, resolveWindow, setCallRewrite, setColumnReferenceExpansion, setIdentifierExpansion, setOriginal, setValidatedNodeType, shouldAllowIntermediateOrderBy, shouldAllowOverRelation, validate, validateAggregateParams, validateCall, validateColumnListParams, validateDataType, validateDelete, validateDynamicParam, validateFeature, validateFrom, validateGroupClause, validateHavingClause, validateIdentifier, validateInsert, validateIntervalQualifier, validateJoin, validateLiteral, validateMerge, validateNamespace, validateOrderList, validateOver, validateParameterizedExpression, validateQuery, validateSelect, validateSelectList, validateUpdate, validateValues, validateWhereClause, validateWhereOrOn, validateWindow, validateWindowClause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlToRelTestBase.FarragoTestValidator

public SqlToRelTestBase.FarragoTestValidator(SqlOperatorTable opTab,
                                             SqlValidatorCatalogReader catalogReader,
                                             RelDataTypeFactory typeFactory,
                                             SqlConformance conformance)
Method Detail

shouldExpandIdentifiers

public boolean shouldExpandIdentifiers()
Description copied from interface: SqlValidator
Returns expansion of identifiers.

Specified by:
shouldExpandIdentifiers in interface SqlValidator
Overrides:
shouldExpandIdentifiers in class SqlValidatorImpl
Returns:
whether this validator should expand identifiers