public class RelColumnOrigin extends Object
| Constructor and Description |
|---|
RelColumnOrigin(RelOptTable originTable,
int iOriginColumn,
boolean isDerived) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(@Nullable Object obj) |
int |
getOriginColumnOrdinal()
Returns the 0-based index of column in origin table; whether this ordinal
is flattened or unflattened depends on whether UDT flattening has already
been performed on the relational expression which produced this
description.
|
RelOptTable |
getOriginTable()
Returns table of origin.
|
int |
hashCode() |
boolean |
isDerived()
Consider the query
select a+b as c, d as e from t. |
public RelColumnOrigin(RelOptTable originTable, int iOriginColumn, boolean isDerived)
public RelOptTable getOriginTable()
public int getOriginColumnOrdinal()
public boolean isDerived()
select a+b as c, d as e from t. The
output column c has two origins (a and b), both of them derived. The
output column d as one origin (c), which is not derived.Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.