Package org.apache.calcite.sql.validate
Class ScopeChild
- java.lang.Object
-
- org.apache.calcite.sql.validate.ScopeChild
-
class ScopeChild extends java.lang.Object
One of the inputs of aSqlValidatorScope
.Most commonly, it is an item in a FROM clause, and consists of a namespace (the columns it provides), and optional name (table alias), and ordinal within the FROM clause.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
name
(package private) SqlValidatorNamespace
namespace
(package private) boolean
nullable
(package private) int
ordinal
-
Constructor Summary
Constructors Constructor Description ScopeChild(int ordinal, java.lang.String name, SqlValidatorNamespace namespace, boolean nullable)
Creates a ScopeChild.
-
-
-
Field Detail
-
ordinal
final int ordinal
-
name
final java.lang.String name
-
namespace
final SqlValidatorNamespace namespace
-
nullable
final boolean nullable
-
-
Constructor Detail
-
ScopeChild
ScopeChild(int ordinal, java.lang.String name, SqlValidatorNamespace namespace, boolean nullable)
Creates a ScopeChild.- Parameters:
ordinal
- Ordinal of child within parent scopename
- Table alias (may be null)namespace
- Namespace of childnullable
- Whether fields of the child are nullable when seen from the parent, due to outer joins
-
-