Class SnapshotScope

java.lang.Object
org.apache.calcite.sql.validate.DelegatingScope
org.apache.calcite.sql.validate.SnapshotScope
All Implemented Interfaces:
org.apache.calcite.sql.validate.SqlValidatorScope

public class SnapshotScope extends org.apache.calcite.sql.validate.DelegatingScope
Represents the name-resolution context for expressions in an FOR SYSTEM_TIME AS OF TIMESTAMP clause.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.calcite.sql.validate.SqlValidatorScope

    org.apache.calcite.sql.validate.SqlValidatorScope.EmptyPath, org.apache.calcite.sql.validate.SqlValidatorScope.Path, org.apache.calcite.sql.validate.SqlValidatorScope.Resolve, org.apache.calcite.sql.validate.SqlValidatorScope.Resolved, org.apache.calcite.sql.validate.SqlValidatorScope.ResolvedImpl, org.apache.calcite.sql.validate.SqlValidatorScope.Step
  • Field Summary

    Fields inherited from class org.apache.calcite.sql.validate.DelegatingScope

    parent, resolved, validator
  • Constructor Summary

    Constructors
    Constructor
    Description
    SnapshotScope(org.apache.calcite.sql.validate.SqlValidatorScope parent, org.apache.calcite.schema.SchemaVersion schemaVersion)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace ns, String alias, boolean nullable)
     
    org.apache.calcite.sql.SqlNode
     
    boolean
    isWithin(@Nullable org.apache.calcite.sql.validate.SqlValidatorScope scope2)
     
    void
    resolveTable(List<String> names, org.apache.calcite.sql.validate.SqlNameMatcher nameMatcher, org.apache.calcite.sql.validate.SqlValidatorScope.Path path, org.apache.calcite.sql.validate.SqlValidatorScope.Resolved resolved)
     

    Methods inherited from class org.apache.calcite.sql.validate.DelegatingScope

    addColumnNames, analyze, findAliases, findAllColumnNames, findQualifyingTableName, findQualifyingTableNames, fullyQualify, getMonotonicity, getOperandScope, getOrderList, getParent, getTableNamespace, getValidator, lookupWindow, nullifyType, resolve, resolveColumn, validateExpr

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.calcite.sql.validate.SqlValidatorScope

    isMeasureRef
  • Constructor Details

    • SnapshotScope

      public SnapshotScope(org.apache.calcite.sql.validate.SqlValidatorScope parent, org.apache.calcite.schema.SchemaVersion schemaVersion)
  • Method Details

    • resolveTable

      public void resolveTable(List<String> names, org.apache.calcite.sql.validate.SqlNameMatcher nameMatcher, org.apache.calcite.sql.validate.SqlValidatorScope.Path path, org.apache.calcite.sql.validate.SqlValidatorScope.Resolved resolved)
      Specified by:
      resolveTable in interface org.apache.calcite.sql.validate.SqlValidatorScope
      Overrides:
      resolveTable in class org.apache.calcite.sql.validate.DelegatingScope
    • addChild

      public void addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace ns, String alias, boolean nullable)
      Specified by:
      addChild in interface org.apache.calcite.sql.validate.SqlValidatorScope
      Overrides:
      addChild in class org.apache.calcite.sql.validate.DelegatingScope
    • getNode

      public org.apache.calcite.sql.SqlNode getNode()
    • isWithin

      public boolean isWithin(@Nullable org.apache.calcite.sql.validate.SqlValidatorScope scope2)