| Package | Description |
|---|---|
| com.holonplatform.async.datastore.operation | |
| com.holonplatform.core.datastore.beans | |
| com.holonplatform.core.query |
| Modifier and Type | Method and Description |
|---|---|
default <P extends Property> |
AsyncQueryResults.findOne(Iterable<P> properties)
Execute the query asynchronously and get an expected unique result as a
PropertyBox instance, using given
properties as projection. |
default CompletionStage<Optional<PropertyBox>> |
AsyncQueryResults.findOne(Property... properties)
Execute the query asynchronously and get an expected unique result as
PropertyBox instance, using given
properties as projection. |
default <R> CompletionStage<Optional<R>> |
AsyncQueryResults.findOne(QueryProjection<R> projection)
Execute query asynchronously and get an expected unique result using
projection to map result to
required type. |
| Modifier and Type | Method and Description |
|---|---|
default Optional<T> |
BeanQuery.findOne()
Execute query and get an expected unique result bean.
|
| Modifier and Type | Method and Description |
|---|---|
default <P extends Property> |
QueryResults.findOne(Iterable<P> properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default <P extends Property> |
QueryProjectionOperations.findOne(Iterable<P> properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default Optional<PropertyBox> |
QueryResults.findOne(Property... properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default OR |
QueryProjectionOperations.findOne(Property... properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default <R> Optional<R> |
QueryResults.findOne(QueryProjection<R> projection)
Execute query and get an expected unique result using
projection to map result to required type. |
<R> OR |
QueryProjectionOperations.findOne(QueryProjection<R> projection)
Execute the query and get an expected unique result using given
projection to map the result to the
required type. |
Copyright © 2019 The Holon Platform. All rights reserved.