Package org.apache.calcite.sql.validate
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
-
-
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, analyze, findAliases, findAllColumnNames, findQualifyingTableName, findQualifyingTableNames, fullyQualify, getMonotonicity, getOperandScope, getOrderList, getParent, getTableNamespace, getValidator, lookupWindow, nullifyType, resolve, resolveColumn, validateExpr
-
-
-
-
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 interfaceorg.apache.calcite.sql.validate.SqlValidatorScope
- Overrides:
resolveTable
in classorg.apache.calcite.sql.validate.DelegatingScope
-
addChild
public void addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace ns, String alias, boolean nullable)
- Specified by:
addChild
in interfaceorg.apache.calcite.sql.validate.SqlValidatorScope
- Overrides:
addChild
in classorg.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)
-
-