@Internal @CompileStatic class QueryableHelper extends Object
Helper for Queryable
Type Params | Return Type | Name and description |
---|---|---|
<T> |
static T |
getVar(String name) |
|
static boolean |
isParallel() |
<T> |
static Queryable<SourceRecord<T>> |
navigate(Queryable<? extends T> queryable, List<String> aliasList) Make Queryable instance's data source records being able to access via aliases |
<T> |
static T |
removeVar(String name) |
<T> |
static void |
setVar(String name, T value) |
|
static void |
shutdown(int mode) Shutdown to release resources |
<T> |
static T |
singleValue(Queryable<? extends T> queryable) Returns single value of Queryable instance |
<T> |
static ForkJoinTask<T> |
submit(Callable<T> callable) |
<U> |
static CompletableFuture<U> |
supplyAsync(Supplier<U> supplier) |
<T, U> |
static CompletableFuture<U> |
supplyAsync(Function<? super T, ? extends U> function, T param) |
Make Queryable instance's data source records being able to access via aliases
queryable
- the original Queryable instancealiasList
- the aliases of clause from
and joinsShutdown to release resources
mode
- 0: immediate, 1: abortReturns single value of Queryable instance
queryable
- the Queryable instance