Package org.apache.calcite.sql.validate
Class SqlValidatorScope.Path
java.lang.Object
org.apache.calcite.sql.validate.SqlValidatorScope.Path
- Direct Known Subclasses:
SqlValidatorScope.EmptyPath
,SqlValidatorScope.Step
- Enclosing interface:
SqlValidatorScope
A sequence of steps by which an identifier was resolved. Immutable.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
build
(com.google.common.collect.ImmutableList.Builder<SqlValidatorScope.Step> paths) plus
(@Nullable RelDataType rowType, int i, String name, StructKind kind) Creates a path that consists of this path plus one additional step.int
Number of steps in this path.steps()
Returns the steps in this path.toString()
-
Field Details
-
EMPTY
The empty path.
-
-
Constructor Details
-
Path
public Path()
-
-
Method Details
-
plus
public SqlValidatorScope.Step plus(@Nullable RelDataType rowType, int i, String name, StructKind kind) Creates a path that consists of this path plus one additional step. -
stepCount
public int stepCount()Number of steps in this path. -
steps
Returns the steps in this path. -
build
-
toString
-