Package com.couchbase.client.java.view
Class ViewRow
java.lang.Object
com.couchbase.client.java.view.ViewRow
-
Method Summary
Modifier and TypeMethodDescriptionid()
Returns the ID if present.<T> Optional
<T> Decodes the key into the given target type if present.<T> Optional
<T> Decodes the key into the given target type if present.toString()
<T> Optional
<T> Decodes the value into the given target type if present.<T> Optional
<T> Decodes the value into the given target type if present.
-
Method Details
-
id
Returns the ID if present.- Returns:
- the ID if present.
-
keyAs
Decodes the key into the given target type if present.- Type Parameters:
T
- the generic type to decode into.- Parameters:
target
- the target type.- Returns:
- the decoded key, if present.
-
keyAs
Decodes the key into the given target type if present.- Type Parameters:
T
- the generic type to decode into.- Parameters:
target
- the target type.- Returns:
- the decoded key, if present.
-
valueAs
Decodes the value into the given target type if present.- Type Parameters:
T
- the generic type to decode into.- Parameters:
target
- the target type.- Returns:
- the decoded value, if present.
-
valueAs
Decodes the value into the given target type if present.- Type Parameters:
T
- the generic type to decode into.- Parameters:
target
- the target type.- Returns:
- the decoded value, if present.
-
toString
-