public interface RelOptNode
| Modifier and Type | Method and Description |
|---|---|
RelOptCluster |
getCluster()
Returns the cluster this relational expression belongs to.
|
String |
getDescription()
Returns a string which describes the relational expression and, unlike
getDigest(), also includes the identity. |
String |
getDigest()
Returns a string which concisely describes the definition of this
relational expression.
|
int |
getId()
Returns the ID of this relational expression, unique among all relational
expressions created since the server was started.
|
List<? extends RelOptNode> |
getInputs()
Returns an array of this relational expression's inputs.
|
RelDataType |
getRowType() |
RelTraitSet |
getTraitSet()
Retrieves this RelNode's traits.
|
int getId()
String getDigest()
The digest does not contain the relational expression's identity -- that would prevent similar relational expressions from ever comparing equal -- but does include the identity of children (on the assumption that children have already been normalized).
If you want a descriptive string which contains the identity, call
Object.toString(), which always returns "rel#{id}:{digest}".
RelNodeRelTraitSet getTraitSet()
RelDataType getRowType()
String getDescription()
getDigest(), also includes the identity. Typically returns
"rel#{id}:{digest}".getDigest(), also includes the identityList<? extends RelOptNode> getInputs()
null.RelOptCluster getCluster()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.