Package io.trino.metadata
Class InternalFunctionBundle
java.lang.Object
io.trino.metadata.InternalFunctionBundle
- All Implemented Interfaces:
FunctionBundle
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionInternalFunctionBundle(SqlFunction... functions) InternalFunctionBundle(List<? extends SqlFunction> functions) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static InternalFunctionBundleextractFunctions(Class<?> functionClass) static InternalFunctionBundleextractFunctions(Collection<Class<?>> functionClasses) getAggregationFunctionMetadata(FunctionId functionId) getAggregationImplementation(FunctionId functionId, BoundSignature boundSignature, FunctionDependencies functionDependencies) getFunctionDependencies(FunctionId functionId, BoundSignature boundSignature) getScalarFunctionImplementation(FunctionId functionId, BoundSignature boundSignature, FunctionDependencies functionDependencies, InvocationConvention invocationConvention) getWindowFunctionSupplier(FunctionId functionId, BoundSignature boundSignature, FunctionDependencies functionDependencies)
-
Constructor Details
-
InternalFunctionBundle
-
InternalFunctionBundle
-
-
Method Details
-
getFunctions
- Specified by:
getFunctionsin interfaceFunctionBundle
-
getAggregationFunctionMetadata
- Specified by:
getAggregationFunctionMetadatain interfaceFunctionBundle
-
getFunctionDependencies
public FunctionDependencyDeclaration getFunctionDependencies(FunctionId functionId, BoundSignature boundSignature) - Specified by:
getFunctionDependenciesin interfaceFunctionBundle
-
getScalarFunctionImplementation
public ScalarFunctionImplementation getScalarFunctionImplementation(FunctionId functionId, BoundSignature boundSignature, FunctionDependencies functionDependencies, InvocationConvention invocationConvention) - Specified by:
getScalarFunctionImplementationin interfaceFunctionBundle
-
getAggregationImplementation
public AggregationImplementation getAggregationImplementation(FunctionId functionId, BoundSignature boundSignature, FunctionDependencies functionDependencies) - Specified by:
getAggregationImplementationin interfaceFunctionBundle
-
getWindowFunctionSupplier
public WindowFunctionSupplier getWindowFunctionSupplier(FunctionId functionId, BoundSignature boundSignature, FunctionDependencies functionDependencies) - Specified by:
getWindowFunctionSupplierin interfaceFunctionBundle
-
extractFunctions
-
extractFunctions
-
builder
-