public static interface ExecutableSelectOperation.SelectWithProjection<T> extends ExecutableSelectOperation.SelectWithQuery<T>
Modifier and Type | Method and Description |
---|---|
<R> ExecutableSelectOperation.SelectWithQuery<R> |
as(Class<R> resultType)
Define the
result target type that the Cassandra Row fields should be mapped to. |
matching
all, count, exists, first, firstValue, one, oneValue, stream
<R> ExecutableSelectOperation.SelectWithQuery<R> as(Class<R> resultType)
result target type
that the Cassandra Row fields should be mapped to.
Skip this step if you are anyway only interested in the original domain type
.
R
- type
of the result.resultType
- desired target type
of the result; must not be null.ExecutableSelectOperation.SelectWithQuery
.IllegalArgumentException
- if resultType is null.ExecutableSelectOperation.SelectWithQuery
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.