Package org.apache.calcite.sql.validate
Class IdentifierSnapshotNamespace
java.lang.Object
org.apache.calcite.sql.validate.IdentifierNamespace
org.apache.calcite.sql.validate.IdentifierSnapshotNamespace
- All Implemented Interfaces:
org.apache.calcite.sql.validate.SqlValidatorNamespace
public class IdentifierSnapshotNamespace
extends org.apache.calcite.sql.validate.IdentifierNamespace
A namespace for the statement with
FOR SYSTEM_TIME AS OF TIMESTAMP
clause.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.calcite.sql.SqlNode
protected org.apache.calcite.rel.type.RelDataType
protected org.apache.calcite.rel.type.RelDataType
protected final SqlValidatorImpl
Fields inherited from class org.apache.calcite.sql.validate.IdentifierNamespace
extendList
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifierSnapshotNamespace
(org.apache.calcite.sql.validate.IdentifierNamespace ns, org.apache.calcite.schema.SchemaVersion schemaVersion, org.apache.calcite.sql.validate.SqlValidatorScope parentScope) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.calcite.rel.type.RelDataType
convertToStruct
(org.apache.calcite.rel.type.RelDataType arg0) org.apache.calcite.rel.type.RelDataTypeField
org.apache.calcite.sql.SqlNode
org.apache.calcite.rel.type.RelDataType
org.apache.calcite.rel.type.RelDataType
org.apache.calcite.rel.type.RelDataType
getType()
org.apache.calcite.sql.validate.SqlValidator
boolean
isWrapperFor
(Class<?> arg0) org.apache.calcite.sql.validate.SqlValidatorNamespace
lookupChild
(String arg0) void
void
setType
(org.apache.calcite.rel.type.RelDataType arg0) protected org.apache.calcite.rel.type.RelDataType
toStruct
(org.apache.calcite.rel.type.RelDataType arg0, org.apache.calcite.sql.SqlNode arg1) <T extends Object>
Tfinal void
validate
(org.apache.calcite.rel.type.RelDataType arg0) Methods inherited from class org.apache.calcite.sql.validate.IdentifierNamespace
getId, getMonotonicExprs, getMonotonicity, getNode, getTable, resolve, split, supportsModality, validateImpl
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.SqlValidatorNamespace
fieldExists
-
Field Details
-
validator
-
rowType
protected org.apache.calcite.rel.type.RelDataType rowType -
type
protected org.apache.calcite.rel.type.RelDataType type -
enclosingNode
protected final org.apache.calcite.sql.SqlNode enclosingNode
-
-
Constructor Details
-
IdentifierSnapshotNamespace
public IdentifierSnapshotNamespace(org.apache.calcite.sql.validate.IdentifierNamespace ns, org.apache.calcite.schema.SchemaVersion schemaVersion, org.apache.calcite.sql.validate.SqlValidatorScope parentScope)
-
-
Method Details
-
getValidator
public org.apache.calcite.sql.validate.SqlValidator getValidator()- Specified by:
getValidator
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
validate
public final void validate(org.apache.calcite.rel.type.RelDataType arg0) - Specified by:
validate
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
getRowType
public org.apache.calcite.rel.type.RelDataType getRowType()- Specified by:
getRowType
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
getRowTypeSansSystemColumns
public org.apache.calcite.rel.type.RelDataType getRowTypeSansSystemColumns()- Specified by:
getRowTypeSansSystemColumns
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
getType
public org.apache.calcite.rel.type.RelDataType getType()- Specified by:
getType
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
setType
public void setType(org.apache.calcite.rel.type.RelDataType arg0) - Specified by:
setType
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
getEnclosingNode
public org.apache.calcite.sql.SqlNode getEnclosingNode()- Specified by:
getEnclosingNode
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
lookupChild
- Specified by:
lookupChild
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
field
- Specified by:
field
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
makeNullable
public void makeNullable()- Specified by:
makeNullable
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
translate
-
unwrap
- Specified by:
unwrap
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceorg.apache.calcite.sql.validate.SqlValidatorNamespace
-
convertToStruct
protected org.apache.calcite.rel.type.RelDataType convertToStruct(org.apache.calcite.rel.type.RelDataType arg0) -
toStruct
protected org.apache.calcite.rel.type.RelDataType toStruct(org.apache.calcite.rel.type.RelDataType arg0, org.apache.calcite.sql.SqlNode arg1)
-