Package au.csiro.pathling.sql.udf
Class AbstractUDFRegistrar
java.lang.Object
au.csiro.pathling.sql.udf.AbstractUDFRegistrar
- All Implemented Interfaces:
SparkConfigurer
A base spark configurer that registers user defined functions in the sessions.
- Author:
- Piotr Szul
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(SparkSession spark) Configure some aspect ofSparkSessionprotected abstract voidregisterUDFs(AbstractUDFRegistrar.UDFRegistrar udfRegistrar) Override to perform the actual registration of SqlFunctionXXX instances.
-
Constructor Details
-
AbstractUDFRegistrar
public AbstractUDFRegistrar()
-
-
Method Details
-
configure
Description copied from interface:SparkConfigurerConfigure some aspect ofSparkSession- Specified by:
configurein interfaceSparkConfigurer- Parameters:
spark- theSparkSessionto configure.
-
registerUDFs
Override to perform the actual registration of SqlFunctionXXX instances.- Parameters:
udfRegistrar- the helper to use to register the UDFs.
-