gravitino.dto.function.function_impl_dto.JavaImplDTO¶
- class gravitino.dto.function.function_impl_dto.JavaImplDTO(_runtime: str, _class_name: str, _language: str = 'JAVA', _resources: FunctionResourcesDTO | None = None, _properties: Dict[str, str] | None = None)¶
Bases:
FunctionImplDTODTO for Java function implementation.
- __init__(_runtime: str, _class_name: str, _language: str = 'JAVA', _resources: FunctionResourcesDTO | None = None, _properties: Dict[str, str] | None = None) None¶
Methods
__init__(_runtime, _class_name[, _language, ...])class_name()from_dict(kvs, *[, infer_missing])from_function_impl(impl)Create a JavaImplDTO from a JavaImpl instance.
from_json(s, *[, parse_float, parse_int, ...])language()Returns the language of this implementation.
properties()resources()runtime()schema(*[, infer_missing, only, exclude, ...])to_dict([encode_json])Convert this DTO to a FunctionImpl instance.
to_json(*[, skipkeys, ensure_ascii, ...])Attributes
dataclass_json_config- classmethod from_function_impl(impl) JavaImplDTO¶
Create a JavaImplDTO from a JavaImpl instance.
- to_function_impl() FunctionImpl¶
Convert this DTO to a FunctionImpl instance.