flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Hueske (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4086) Hide internal Expression methods from Table API
Date Fri, 17 Jun 2016 13:24:05 GMT
Fabian Hueske created FLINK-4086:
------------------------------------

             Summary: Hide internal Expression methods from Table API
                 Key: FLINK-4086
                 URL: https://issues.apache.org/jira/browse/FLINK-4086
             Project: Flink
          Issue Type: Improvement
          Components: Table API & SQL
    Affects Versions: 1.1.0
            Reporter: Fabian Hueske
            Assignee: Fabian Hueske
             Fix For: 1.1.0


Internal methods are accessible from the Table API expressions.

For instance it is possible to call:

{code}
val table: Table = ???
table.select('name.toRexNode(), ('age + 10).validateInput())
{code}

We should hide internal methods like {{toRexNode()}} and {{validateInput()}} from the API.

I propose to restrict access to this methods to objects in the {{org.apache.flink}} name space
via a {{private\[flink\]}} access modifier.



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

Mime
View raw message