Class SqlFunctionRegistrar

java.lang.Object
au.csiro.pathling.sql.udf.SqlFunctionRegistrar
All Implemented Interfaces:
SparkConfigurer

public class SqlFunctionRegistrar extends Object implements SparkConfigurer
A spark configurer that registers user defined functions in the sessions.
  • Constructor Details

    • SqlFunctionRegistrar

      public SqlFunctionRegistrar(@Nonnull List<SqlFunction1<?,?>> sqlFunction1, @Nonnull List<SqlFunction2<?,?,?>> sqlFunction2, @Nonnull List<SqlFunction3<?,?,?,?>> sqlFunction3, @Nonnull List<SqlFunction4<?,?,?,?,?>> sqlFunction4, @Nonnull List<SqlFunction5<?,?,?,?,?,?>> sqlFunction5)
      Creates a new SqlFunctionRegistrar with the specified SQL functions.
      Parameters:
      sqlFunction1 - list of single-parameter SQL functions
      sqlFunction2 - list of two-parameter SQL functions
      sqlFunction3 - list of three-parameter SQL functions
      sqlFunction4 - list of four-parameter SQL functions
      sqlFunction5 - list of five-parameter SQL functions
  • Method Details