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 classstatic classstatic classstatic classstatic classstatic classstatic 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:UdfProviderMaps function names to scalar function implementations.- Specified by:
userDefinedScalarFunctionsin interfaceUdfProvider
-
userDefinedAggregateFunctions
Description copied from interface:UdfProviderMaps function names to aggregate function implementations.- Specified by:
userDefinedAggregateFunctionsin interfaceUdfProvider
-