You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2019/11/08 06:05:00 UTC

[jira] [Created] (CALCITE-3483) Make RexLiteral member fields accessible by sub-class

Haisheng Yuan created CALCITE-3483:
--------------------------------------

             Summary: Make RexLiteral member fields accessible by sub-class
                 Key: CALCITE-3483
                 URL: https://issues.apache.org/jira/browse/CALCITE-3483
             Project: Calcite
          Issue Type: Improvement
          Components: core
            Reporter: Haisheng Yuan


RexLiteral may be sub-classed and some methods may be overrode. e.g. {{printAsJava}}. But currently, RexLiteral fields are private, sub-classes can't access these fields, which makes methods like {{printAsJava}} unable to be overrode. We recommend make RexLiteral member fields protected, so that we can sub-class it, and customize the behavior of methods such as {{printAsJava}}. Does it make sense?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)