Class PythonImplDTO
java.lang.Object
org.apache.gravitino.dto.function.FunctionImplDTO
org.apache.gravitino.dto.function.PythonImplDTO
Python implementation DTO.
-
Constructor Summary
ConstructorsConstructorDescriptionPythonImplDTO(String runtime, FunctionResourcesDTO resources, Map<String, String> properties, String handler, String codeBlock) Constructor for PythonImplDTO. -
Method Summary
Modifier and TypeMethodDescriptionlanguage()Get the language of this implementation.Convert this DTO to aFunctionImplinstance.Methods inherited from class org.apache.gravitino.dto.function.FunctionImplDTO
fromFunctionImpl
-
Constructor Details
-
PythonImplDTO
public PythonImplDTO(String runtime, FunctionResourcesDTO resources, Map<String, String> properties, String handler, String codeBlock) Constructor for PythonImplDTO.- Parameters:
runtime- The runtime type.resources- The function resources.properties- The properties.handler- The Python handler function.codeBlock- The Python code block.
-
-
Method Details
-
language
Description copied from class:FunctionImplDTOGet the language of this implementation.- Specified by:
languagein classFunctionImplDTO- Returns:
- The language.
-
toFunctionImpl
Description copied from class:FunctionImplDTOConvert this DTO to aFunctionImplinstance.- Specified by:
toFunctionImplin classFunctionImplDTO- Returns:
- The function implementation.
-