Class UdfTestProvider
java.lang.Object
org.apache.beam.sdk.extensions.sql.provider.UdfTestProvider
- All Implemented Interfaces:
UdfProvider
Defines Java UDFs for use in tests.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap
<String, AggregateFn<?, ?, ?>> Maps function names to aggregate function implementations.Maps function names to scalar function implementations.
-
Constructor Details
-
UdfTestProvider
public UdfTestProvider()
-
-
Method Details
-
userDefinedScalarFunctions
Description copied from interface:UdfProvider
Maps function names to scalar function implementations.- Specified by:
userDefinedScalarFunctions
in interfaceUdfProvider
-
userDefinedAggregateFunctions
Description copied from interface:UdfProvider
Maps function names to aggregate function implementations.- Specified by:
userDefinedAggregateFunctions
in interfaceUdfProvider
-