Tuesday, 25 September 2012

OrientDB supports Functions

Since 1.2.0 OrientDB supports Functions. A Function is an executable unit of code that can takes parameters and returns a result. Using the Functions you can do Functional programming where logic and data are all together in a central place. Functions are similar to the Stored Procedures of RDBMS.

These the features of OrientDB Functions:
  • are persistent
  • can be written in Javascript, but Ruby, Scala, Java and other languages are coming
  • can be executed via Java
  • can be executed via REST since each function is exported as a URI
  • can call each other
  • supports recursion
  • have automatic mapping of parameters by position and name
  • plugins can inject new objects to being used by functions

NuvolaBase Team

No comments:

Post a Comment

Note: only a member of this blog may post a comment.