Package | Description |
---|---|
com.basho.riak.client.api.convert | |
com.basho.riak.client.api.convert.reflection |
Modifier and Type | Method and Description |
---|---|
Converter.ContentAndType |
StringConverter.fromDomain(String domainObject) |
abstract Converter.ContentAndType |
Converter.fromDomain(T domainObject)
Provide the value portion of a RiakObject from the domain object.
|
String |
StringConverter.toDomain(BinaryValue value,
String contentType) |
abstract T |
Converter.toDomain(BinaryValue value,
String contentType)
Convert the value portion of a RiakObject to a domain object.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
AnnotationUtil.setKey(T domainObject,
BinaryValue key)
Attempts to inject
key as the value of the @RiakKey
annotated member of domainObject |
static <T> T |
AnnotationUtil.setTombstone(T domainObject,
boolean isTombstone)
Attempts to inject
isTombstone as the value of the
@RiakTombstone annotated member of domainObject |
static <T> T |
AnnotationUtil.setVClock(T domainObject,
VClock vclock)
Attempts to inject
vclock as the value of the
@RiakVClock annotated member of domainObject |
Copyright © 2016. All rights reserved.