You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2016/04/22 10:11:12 UTC

[jira] [Resolved] (CALCITE-1166) Disallow sub-classes of RelOptRuleOperand

     [ https://issues.apache.org/jira/browse/CALCITE-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Hyde resolved CALCITE-1166.
----------------------------------
    Resolution: Fixed

Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/d81133fd.

> Disallow sub-classes of RelOptRuleOperand
> -----------------------------------------
>
>                 Key: CALCITE-1166
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1166
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> Disallow sub-classes of {{RelOptRuleOperand}}. The only reason that people have sub-classed {{RelOptRuleOperand}} is to override the {{boolean matches(RelNode)}} method, and you can now achieve that by supplying a {{Predicate}} to the constructor.
> Next release, we will deprecate {{RelOptRuleOperand}}'s protected constructor and create a new private or package-protected one. Later we will remove that constructor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)