T - the entity type to use for the results.public static interface ExecutableFindByQueryOperation.FindByQueryWithProjection<T> extends ExecutableFindByQueryOperation.FindByQueryWithConsistency<T>
| Modifier and Type | Method and Description |
|---|---|
<R> ExecutableFindByQueryOperation.FindByQueryWithConsistency<R> |
as(Class<R> returnType)
Define the target type fields should be mapped to.
|
withConsistencyconsistentWithinScopeinCollectionwithOptionsmatching, matchingall, count, exists, first, firstValue, one, oneValue, stream<R> ExecutableFindByQueryOperation.FindByQueryWithConsistency<R> as(Class<R> returnType)
returnType - must not be null.ExecutableFindByQueryOperation.FindByQueryWithProjection.IllegalArgumentException - if returnType is null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.