public interface SelectJSONAction extends AsyncAware
| Modifier and Type | Method and Description |
|---|---|
default String |
getJSON()
Execute the SELECT JSON * action
and return the first row value as JSON
|
default CompletableFuture<String> |
getJSONAsync()
Execute the SELECT JSON * action asynchronously
and return a
CompletableFuture of
the first row as JSON |
default CompletableFuture<info.archinnov.achilles.type.tuples.Tuple2<String,ExecutionInfo>> |
getJSONAsyncWithStats()
Execute the SELECT JSON * action asynchronously
and return a
CompletableFuture of
the first row as JSON with ExecutionInfo |
default info.archinnov.achilles.type.tuples.Tuple2<String,ExecutionInfo> |
getJSONWithStats()
Execute the SELECT JSON * action
and return the first row as JSON with
ExecutionInfo |
default List<String> |
getListJSON()
Execute the SELECT JSON * action
and return a list of rows as JSON
|
default CompletableFuture<List<String>> |
getListJSONAsync()
Execute the SELECT JSON * action asynchronously
and return a
CompletableFuture of
a list of rows as JSON |
CompletableFuture<info.archinnov.achilles.type.tuples.Tuple2<List<String>,ExecutionInfo>> |
getListJSONAsyncWithStats()
Execute the SELECT JSON * action asynchronously
and return a
CompletableFuture of
a list of entity instances with ExecutionInfo |
default info.archinnov.achilles.type.tuples.Tuple2<List<String>,ExecutionInfo> |
getListJSONWithStats()
Execute the SELECT JSON * action
and return a list of rows as JSON with
ExecutionInfo |
Iterator<String> |
iterator()
Execute the SELECT JSON * action
and return an
Iterator<String> of JSON values
WARNING: this method performs a blocking call to the underlying async query |
info.archinnov.achilles.type.tuples.Tuple2<Iterator<String>,ExecutionInfo> |
iteratorWithExecutionInfo()
Execute the SELECT JSON * action
and return a
Tuple2<Iterator<String>, ExecutionInfo>
WARNING: this method performs a blocking call to the underlying async query |
extractCauseFromExecutionExceptionIterator<String> iterator()
Iterator<String> of JSON values
info.archinnov.achilles.type.tuples.Tuple2<Iterator<String>,ExecutionInfo> iteratorWithExecutionInfo()
Tuple2<Iterator<String>, ExecutionInfo>
default String getJSON()
default info.archinnov.achilles.type.tuples.Tuple2<String,ExecutionInfo> getJSONWithStats()
ExecutionInfodefault CompletableFuture<String> getJSONAsync()
CompletableFuture of
the first row as JSONdefault CompletableFuture<info.archinnov.achilles.type.tuples.Tuple2<String,ExecutionInfo>> getJSONAsyncWithStats()
CompletableFuture of
the first row as JSON with ExecutionInfodefault List<String> getListJSON()
default CompletableFuture<List<String>> getListJSONAsync()
CompletableFuture of
a list of rows as JSONdefault info.archinnov.achilles.type.tuples.Tuple2<List<String>,ExecutionInfo> getListJSONWithStats()
ExecutionInfoCompletableFuture<info.archinnov.achilles.type.tuples.Tuple2<List<String>,ExecutionInfo>> getListJSONAsyncWithStats()
CompletableFuture of
a list of entity instances with ExecutionInfoCopyright © 2012-2021. All Rights Reserved.