Package org.apache.ignite.compute.wasm
Class WasmJobDescriptor
java.lang.Object
org.apache.ignite.compute.wasm.WasmJobDescriptor
WebAssembly job descriptor builder.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,R> WasmJobDescriptor.Builder<T, R> Creates a builder for a WebAssembly job descriptor.static JobExecutionOptions.BuilderCreates a builder for job execution options with the executor type set toJobExecutorType.WASM_EMBEDDED.
-
Constructor Details
-
WasmJobDescriptor
public WasmJobDescriptor()
-
-
Method Details
-
builder
public static <T,R> WasmJobDescriptor.Builder<T,R> builder(String wasmModuleFileName, String wasmFunctionName, WasmType resultType) Creates a builder for a WebAssembly job descriptor.- Type Parameters:
T- Argument type.R- Result type.- Parameters:
wasmModuleFileName- Wasm module file name. Example:module.wasm.wasmFunctionName- Wasm exported function name.resultType- Wasm function result type.- Returns:
- Builder.
-
optionsBuilder
Creates a builder for job execution options with the executor type set toJobExecutorType.WASM_EMBEDDED.- Returns:
- Builder for job execution options.
-