public class RelColumnOrigin extends Object
| Constructor and Description |
|---|
RelColumnOrigin(RelOptTable originTable,
int iOriginColumn,
boolean isDerived) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getOriginColumnOrdinal() |
RelOptTable |
getOriginTable() |
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–2015 The Apache Software Foundation. All rights reserved.