public class AnalyticsResult extends Object
Modifier and Type | Method and Description |
---|---|
AnalyticsMetaData |
metaData()
Returns the
AnalyticsMetaData giving access to the additional metadata associated with this analytics
query. |
<T> List<T> |
rowsAs(Class<T> target)
Returns all rows, converted into instances of the target class.
|
<T> List<T> |
rowsAs(TypeRef<T> target)
Returns all rows, converted into instances of the target type.
|
List<JsonObject> |
rowsAsObject()
Returns all rows, converted into
JsonObject s. |
String |
toString() |
public <T> List<T> rowsAs(Class<T> target)
T
- the generic type to cast the rows into.target
- the target class to deserialize into.com.couchbase.client.core.error.DecodingFailureException
- if any row could not be successfully deserialized.public <T> List<T> rowsAs(TypeRef<T> target)
T
- the generic type to cast the rows into.target
- the target type to deserialize into.com.couchbase.client.core.error.DecodingFailureException
- if any row could not be successfully deserialized.public List<JsonObject> rowsAsObject()
JsonObject
s.com.couchbase.client.core.error.DecodingFailureException
- if any row could not be successfully deserialized.public AnalyticsMetaData metaData()
AnalyticsMetaData
giving access to the additional metadata associated with this analytics
query.Copyright © 2024 Couchbase, Inc.. All rights reserved.