Class ScalarFnReflector


  • public class ScalarFnReflector
    extends java.lang.Object
    Reflection-based implementation logic for ScalarFn.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.reflect.Method getApplyMethod​(org.apache.beam.sdk.extensions.sql.udf.ScalarFn scalarFn)
      Gets the method annotated with ScalarFn.ApplyMethod from scalarFn.
      • Methods inherited from class java.lang.Object

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

      • ScalarFnReflector

        public ScalarFnReflector()
    • Method Detail

      • getApplyMethod

        public static java.lang.reflect.Method getApplyMethod​(org.apache.beam.sdk.extensions.sql.udf.ScalarFn scalarFn)
        Gets the method annotated with ScalarFn.ApplyMethod from scalarFn.

        There must be exactly one method annotated with ScalarFn.ApplyMethod, and it must be public.