Package org.apache.calcite.util
Class Smalls.MyPlusFunction
- java.lang.Object
-
- org.apache.calcite.util.Smalls.MyPlusFunction
-
- Enclosing class:
- Smalls
public static class Smalls.MyPlusFunction extends java.lang.Object
Example of a UDF with a non-staticeval
method, and named parameters.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.concurrent.atomic.AtomicInteger
INSTANCE_COUNT
-
Constructor Summary
Constructors Constructor Description MyPlusFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
eval(int x, int y)
-