You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2017/10/13 14:50:02 UTC

[jira] [Closed] (TINKERPOP-1632) Create a set of default functions

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

Marko A. Rodriguez closed TINKERPOP-1632.
-----------------------------------------
       Resolution: Fixed
         Assignee: Marko A. Rodriguez
    Fix Version/s: 3.3.1

> Create a set of default functions
> ---------------------------------
>
>                 Key: TINKERPOP-1632
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1632
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.3.0
>            Reporter: Daniel Kuppitz
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.3.1
>
>
> We already have a a set of default BiFunctions / operators, that are not treated as lambdas. We should also have a bunch of simple functions, that can then be used in {{map()}} or {{sack()}} and that can be serialized as bytecode. For example:
> {noformat}
> ...map(sqrt)
> ...map(log)
> ...sack(sigmoid)     // compute sigmoid of the current sack and update the sack
> ...sack(cos).by("x") // compute the cosine of the current element's "x" and assign / overwrite the current sack value
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)