public interface TranslationService
CouchbaseStorable format.| Modifier and Type | Method and Description |
|---|---|
CouchbaseStorable |
decode(Object source,
CouchbaseStorable target)
Decodes the target format into a
CouchbaseDocument |
Object |
encode(CouchbaseStorable source)
Encodes a
CouchbaseDocument into the target format. |
Object encode(CouchbaseStorable source)
CouchbaseDocument into the target format.source - the source document to encode.CouchbaseStorable decode(Object source, CouchbaseStorable target)
CouchbaseDocumentsource - the source formatted document.target - the target of the populated data.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.