Interface SqlFunction

All Known Subinterfaces:
SqlFunction1<T1,R>, SqlFunction2<T1,T2,R>, SqlFunction3<T1,T2,T3,R>, SqlFunction4<T1,T2,T3,T4,R>, SqlFunction5<T1,T2,T3,T4,T5,R>

public interface SqlFunction
The interface that encapsulates meta data required for registration of a custom UDF function in Spark.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of the UDF.
    Gets the return type of the UDF
  • Method Details

    • getName

      String getName()
      Gets the name of the UDF.
      Returns:
      the name of the UDF function.
    • getReturnType

      DataType getReturnType()
      Gets the return type of the UDF
      Returns:
      the SQL type returned by the UDF.