public interface RelOptNode
Modifier and Type | Method and Description |
---|---|
RelOptCluster |
getCluster()
Returns the cluster this relational expression belongs to.
|
java.lang.String |
getDescription()
Returns a string which describes the relational expression and, unlike
getDigest() , also includes the identity. |
java.lang.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.
|
java.util.List<? extends RelOptNode> |
getInputs()
Returns an array of this relational expression's inputs.
|
RelDataType |
getRowType() |
RelTraitSet |
getTraitSet()
Retrieves this RelNode's traits.
|
int getId()
java.lang.String getDigest()
getRowType()
are the same.
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}".
RelNode
RelTraitSet getTraitSet()
RelDataType getRowType()
java.lang.String getDescription()
getDigest()
, also includes the identity. Typically returns
"rel#{id}:{digest}".getDigest()
, also includes the identityjava.util.List<? extends RelOptNode> getInputs()
null
.RelOptCluster getCluster()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.