PlinyCompute provides lambda calculus that is similar with relational algebra for users to customize Computation objects. The benefits of Lambda calculus is that it can be compiled into a tree structure that can be traversed by a system query optimizer to understand what is going on.
Supported lambda calculus instructions are listed in below table.
Lambda Name | Explanation |
---|---|
&& |
AND two lambda expressions that return boolean value. |
== |
compares two lambda expressions that return same type of values, and return true if LHS equals to RHS, return false otherwise. |
makeLambda |
return a C++ lambda. |
makeLambdaFromMember |
return a lambda that returns a data member from the input object. |
makeLambdaFromMethod |
return a lambda that returns a method from the input object. |
makeLambdaFromSelf |
return a lambda that returns the input object itself. |