public interface LockQuery extends QueryBuilder<LockQuery>, QueryResults, DatastoreCommodity, LockSupport<LockQuery>
LockSupport
API.LockSupport
QueryResults.QueryNonUniqueResultException
Modifier and Type | Method and Description |
---|---|
<R> Stream<R> |
stream(QueryProjection<R> projection)
Execute query and get a
Stream of query results using given projection to map results to
required type. |
distinct, getQueryConfiguration, limit, offset, parameter, parameter, restrict
filter, filter, filter
sort, sort, sort
target, target
aggregate, aggregate, aggregate
withExpressionResolver
<R> Stream<R> stream(QueryProjection<R> projection)
Stream
of query results using given projection
to map results to
required type.stream
in interface QueryProjectionOperations<Stream,List,Optional,Long>
stream
in interface QueryResults
R
- Results typeprojection
- Query projection (not null)LockAcquisitionException
- If a lock mode was configured and the lock can't be acquiredDataAccessException
- Error in query executionCopyright © 2019 The Holon Platform. All rights reserved.