public class RelColumnOrigin
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
iOriginColumn |
private boolean |
isDerived |
private RelOptTable |
originTable |
Constructor and Description |
---|
RelColumnOrigin(RelOptTable originTable,
int iOriginColumn,
boolean isDerived) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getOriginColumnOrdinal() |
RelOptTable |
getOriginTable() |
int |
hashCode() |
boolean |
isDerived()
Consider the query
select a+b as c, d as e from t . |
private final RelOptTable originTable
private final int iOriginColumn
private final boolean isDerived
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.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.