class SchemaNamespace extends AbstractNamespace
The visible names are tables and sub-schemas.
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.ImmutableList<String> |
names
The path of this schema.
|
enclosingNode, rowType, type, validator| Constructor and Description |
|---|
SchemaNamespace(SqlValidatorImpl validator,
com.google.common.collect.ImmutableList<String> names)
Creates a SchemaNamespace.
|
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
getNode()
Returns the parse tree node at the root of this namespace.
|
protected RelDataType |
validateImpl(RelDataType targetRowType)
Validates this scope and returns the type of the records it returns.
|
convertToStruct, fieldExists, getEnclosingNode, getMonotonicExprs, getMonotonicity, getRowType, getRowTypeSansSystemColumns, getTable, getType, getValidator, isWrapperFor, lookupChild, makeNullable, resolve, setType, supportsModality, toStruct, translate, unwrap, validateprivate final com.google.common.collect.ImmutableList<String> names
SchemaNamespace(SqlValidatorImpl validator, com.google.common.collect.ImmutableList<String> names)
protected RelDataType validateImpl(RelDataType targetRowType)
AbstractNamespaceAbstractNamespace.validate(org.apache.calcite.rel.type.RelDataType), which uses the
AbstractNamespace.status field to protect against cycles.validateImpl in class AbstractNamespacetargetRowType - Desired row type, must not be null, may be the data
type 'unknown'.public SqlNode getNode()
SqlValidatorNamespaceTableNamespaceCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.