Package org.apache.gravitino.function
Class FunctionImpl
java.lang.Object
org.apache.gravitino.function.FunctionImpl
- Direct Known Subclasses:
JavaImpl,PythonImpl,SQLImpl
Base class of function implementations.
A function implementation must declare its language and optional external resources. Concrete
implementations are provided by SQLImpl, JavaImpl, and PythonImpl.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSupported implementation languages.static enumSupported execution runtimes for function implementations. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFunctionImpl(FunctionImpl.Language language, FunctionImpl.RuntimeType runtime, FunctionResources resources, Map<String, String> properties) Construct aFunctionImpl. -
Method Summary
-
Constructor Details
-
FunctionImpl
protected FunctionImpl(FunctionImpl.Language language, FunctionImpl.RuntimeType runtime, FunctionResources resources, Map<String, String> properties) Construct aFunctionImpl.- Parameters:
language- The language of the function implementation.runtime- The runtime of the function implementation.resources- The resources required by the function implementation.properties- The properties of the function implementation.
-
-
Method Details
-
language
- Returns:
- The implementation language.
-
runtime
- Returns:
- The target runtime.
-
resources
- Returns:
- The external resources required by this implementation.
-
properties
- Returns:
- The additional properties of this implementation.
-