Class Smalls.MyPlusFunction

  • Enclosing class:
    Smalls

    public static class Smalls.MyPlusFunction
    extends java.lang.Object
    Example of a UDF with a non-static eval 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INSTANCE_COUNT

        public static final java.util.concurrent.atomic.AtomicInteger INSTANCE_COUNT
    • Constructor Detail

      • MyPlusFunction

        public MyPlusFunction()
    • Method Detail

      • eval

        public int eval​(int x,
                        int y)