Package au.csiro.pathling.sql.udf
Class SqlFunctionRegistrar
java.lang.Object
au.csiro.pathling.sql.udf.SqlFunctionRegistrar
- All Implemented Interfaces:
SparkConfigurer
A spark configurer that registers user defined functions in the sessions.
-
Constructor Summary
ConstructorsConstructorDescriptionSqlFunctionRegistrar(List<SqlFunction1<?, ?>> sqlFunction1, List<SqlFunction2<?, ?, ?>> sqlFunction2, List<SqlFunction3<?, ?, ?, ?>> sqlFunction3, List<SqlFunction4<?, ?, ?, ?, ?>> sqlFunction4, List<SqlFunction5<?, ?, ?, ?, ?, ?>> sqlFunction5) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(SparkSession spark) Configure some aspect ofSparkSession
-
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)
-
-
Method Details
-
configure
Description copied from interface:SparkConfigurerConfigure some aspect ofSparkSession- Specified by:
configurein interfaceSparkConfigurer- Parameters:
spark- theSparkSessionto configure.
-