class ScopeChild extends Object
SqlValidatorScope.
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.
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
name |
(package private) static com.google.common.base.Function<ScopeChild,String> |
NAME_FN |
(package private) SqlValidatorNamespace |
namespace |
(package private) static com.google.common.base.Function<ScopeChild,SqlValidatorNamespace> |
NAMESPACE_FN |
(package private) boolean |
nullable |
(package private) int |
ordinal |
| Constructor and Description |
|---|
ScopeChild(int ordinal,
String name,
SqlValidatorNamespace namespace,
boolean nullable)
Creates a ScopeChild.
|
final int ordinal
final String name
final SqlValidatorNamespace namespace
final boolean nullable
static final com.google.common.base.Function<ScopeChild,SqlValidatorNamespace> NAMESPACE_FN
static final com.google.common.base.Function<ScopeChild,String> NAME_FN
ScopeChild(int ordinal,
String name,
SqlValidatorNamespace namespace,
boolean nullable)
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 joinsCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.