Class 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, validator
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addChild​(org.apache.calcite.sql.validate.SqlValidatorNamespace ns, String alias, boolean nullable)  
      org.apache.calcite.sql.SqlNode getNode()  
      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, findAliases, findAllColumnNames, findQualifyingTableName, findQualifyingTableNames, fullyQualify, getMonotonicity, getOperandScope, getOrderList, getParent, getTableNamespace, getValidator, lookupWindow, nullifyType, resolve, resolveColumn, validateExpr
    • Constructor Detail

      • SnapshotScope

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

      • 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)