You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2014/09/13 10:11:33 UTC

[jira] [Updated] (CASSANDRA-7924) Optimization of Java UDFs

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

Robert Stupp updated CASSANDRA-7924:
------------------------------------
    Attachment: 7924.txt

Patch with following changes:
* code generation for 'java' UDFs now emits a class that basically extends/implements {{UDFunction}}
* means: removal of reflection for 'java' UDFs + no need for invocation-API
* also (because it's trivial): 'class' UDFs now use java.lang.invocation instead of java.lang.reflection

> Optimization of Java UDFs
> -------------------------
>
>                 Key: CASSANDRA-7924
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7924
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>              Labels: lhf, udf
>             Fix For: 3.0
>
>         Attachments: 7924.txt
>
>
> Refactor 'java' UDFs to optimize invocation. Goal is to remove reflection code. Implementation uses javassist to generate an instance of {{Function}} that can be directly used.



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