[
https://issues.apache.org/jira/browse/CALCITE-3983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haisheng Yuan updated CALCITE-3983:
-----------------------------------
Description:
Add the following methods to RelTraitSet:
{code:java}
boolean isDefault();
// Convenient methods to get the reltrait defined by
// Calcite, return null if default trait
// defs are not registered.
getConvention();
getDistribution();
getCollation();{code}
was:
Add the following methods to RelTraitSet:
{code:java}
boolean isDefault(boolean ignoreConvention=true);
// Convenient methods to get the reltrait defined by
// Calcite, should throw exception if default trait
// defs are not registered.
getConvention();
getDistribution();
getCollation();{code}
> Add utility methods to RelTraitSet
> ----------------------------------
>
> Key: CALCITE-3983
> URL: https://issues.apache.org/jira/browse/CALCITE-3983
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Haisheng Yuan
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Add the following methods to RelTraitSet:
> {code:java}
> boolean isDefault();
> // Convenient methods to get the reltrait defined by
> // Calcite, return null if default trait
> // defs are not registered.
> getConvention();
> getDistribution();
> getCollation();{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)