public interface GemfireFunctionOperations
Modifier and Type | Method and Description |
---|---|
<T> Iterable<T> |
execute(Function function,
Object... args)
Execute an unregistered GemFire Function with the given arguments.
|
<T> T |
execute(GemfireFunctionCallback<T> callback)
Execute a GemFire Function using a native GemFire
Execution instance. |
<T> Iterable<T> |
execute(String functionId,
Object... args)
Execute a GemFire Function registered with the given ID.
|
<T> T |
executeAndExtract(Function function,
Object... args)
Execute an unregistered GemFire Function with the expected singleton result.
|
<T> T |
executeAndExtract(String functionId,
Object... args)
Execute a GemFire Function registered with an ID and with an expected singleton result
|
void |
executeWithNoResult(String functionId,
Object... args)
Execute a GemFire Function registered with the given ID having no return value.
|
<T> Iterable<T> execute(Function function, Object... args)
T
- type parameter specifying the result type of the Function execution.function
- the GemFire Function object to execute.args
- an array of Object arguments to the Function call.<T> Iterable<T> execute(String functionId, Object... args)
T
- type parameter specifying the result type of the Function execution.functionId
- the ID under which the GemFire function is registered.args
- an array of Object arguments to the Function call.<T> T executeAndExtract(Function function, Object... args)
T
- type parameter specifying the result type of the Function execution.function
- the GemFire Function object.args
- an array of Object arguments to the Function call.Function
<T> T executeAndExtract(String functionId, Object... args)
T
- type parameter specifying the result type of the Function execution.functionId
- the ID under which the GemFire function is registered.args
- an array of Object arguments to the Function call.void executeWithNoResult(String functionId, Object... args)
functionId
- the ID under which the GemFire function is registered.args
- an array of Object arguments to the Function call.<T> T execute(GemfireFunctionCallback<T> callback)
Execution
instance.T
- type parameter specifying the result type of the Function execution.callback
- a callback providing the execution instance.GemfireFunctionCallback