Uses of Class
com.couchbase.client.java.document.JsonDocument
-
-
Uses of JsonDocument in com.couchbase.client.java
Methods in com.couchbase.client.java that return JsonDocument Modifier and Type Method Description JsonDocumentBucket. get(String id)Retrieves aJsonDocumentby its unique ID with the default key/value timeout.JsonDocumentBucket. get(String id, long timeout, TimeUnit timeUnit)Retrieves aJsonDocumentby its unique ID with a custom timeout.JsonDocumentCouchbaseBucket. get(String id)JsonDocumentCouchbaseBucket. get(String id, long timeout, TimeUnit timeUnit)JsonDocumentBucket. getAndLock(String id, int lockTime)Retrieve and lock aJsonDocumentby its unique ID with the default key/value timeout.JsonDocumentBucket. getAndLock(String id, int lockTime, long timeout, TimeUnit timeUnit)Retrieve and lock aJsonDocumentby its unique ID with a custom timeout.JsonDocumentCouchbaseBucket. getAndLock(String id, int lockTime)JsonDocumentCouchbaseBucket. getAndLock(String id, int lockTime, long timeout, TimeUnit timeUnit)JsonDocumentBucket. getAndTouch(String id, int expiry)Retrieve and touch aJsonDocumentby its unique ID with the default key/value timeout.JsonDocumentBucket. getAndTouch(String id, int expiry, long timeout, TimeUnit timeUnit)Retrieve and touch aJsonDocumentby its unique ID with the a custom timeout.JsonDocumentCouchbaseBucket. getAndTouch(String id, int expiry)JsonDocumentCouchbaseBucket. getAndTouch(String id, int expiry, long timeout, TimeUnit timeUnit)JsonDocumentBucket. remove(String id)Removes aDocumentfrom the Server identified by its ID with the default key/value timeout.JsonDocumentBucket. remove(String id, long timeout, TimeUnit timeUnit)Removes aDocumentfrom the Server identified by its ID with a custom timeout.JsonDocumentBucket. remove(String id, PersistTo persistTo)Removes aDocumentfrom the Server by its ID and apply a durability requirement with the default key/value timeout.JsonDocumentBucket. remove(String id, PersistTo persistTo, long timeout, TimeUnit timeUnit)Removes aDocumentfrom the Server by its ID and apply a durability requirement with a custom timeout.JsonDocumentBucket. remove(String id, PersistTo persistTo, ReplicateTo replicateTo)Removes aDocumentfrom the Server by its ID and apply a durability requirement with the default key/value timeout.JsonDocumentBucket. remove(String id, PersistTo persistTo, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)Removes aDocumentfrom the Server by its ID and apply a durability requirement with a custom timeout.JsonDocumentBucket. remove(String id, ReplicateTo replicateTo)Removes aDocumentfrom the Server by its ID and apply a durability requirement with the default key/value timeout.JsonDocumentBucket. remove(String id, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)Removes aDocumentfrom the Server by its ID and apply a durability requirement with a custom timeout.JsonDocumentCouchbaseBucket. remove(String id)JsonDocumentCouchbaseBucket. remove(String id, long timeout, TimeUnit timeUnit)JsonDocumentCouchbaseBucket. remove(String id, PersistTo persistTo)JsonDocumentCouchbaseBucket. remove(String id, PersistTo persistTo, long timeout, TimeUnit timeUnit)JsonDocumentCouchbaseBucket. remove(String id, PersistTo persistTo, ReplicateTo replicateTo)JsonDocumentCouchbaseBucket. remove(String id, PersistTo persistTo, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)JsonDocumentCouchbaseBucket. remove(String id, ReplicateTo replicateTo)JsonDocumentCouchbaseBucket. remove(String id, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)Methods in com.couchbase.client.java that return types with arguments of type JsonDocument Modifier and Type Method Description rx.Observable<JsonDocument>AsyncBucket. get(String id)Retrieves aJsonDocumentby its unique ID.rx.Observable<JsonDocument>AsyncBucket. get(String id, long timeout, TimeUnit timeUnit)Retrieves aJsonDocumentby its unique ID with a custom timeout.rx.Observable<JsonDocument>CouchbaseAsyncBucket. get(String id)rx.Observable<JsonDocument>CouchbaseAsyncBucket. get(String id, long timeout, TimeUnit timeUnit)rx.Observable<JsonDocument>AsyncBucket. getAndLock(String id, int lockTime)Retrieve and lock aJsonDocumentby its unique ID.rx.Observable<JsonDocument>AsyncBucket. getAndLock(String id, int lockTime, long timeout, TimeUnit timeUnit)Retrieve and lock aJsonDocumentby its unique ID with a custom timeout.rx.Observable<JsonDocument>CouchbaseAsyncBucket. getAndLock(String id, int lockTime)rx.Observable<JsonDocument>CouchbaseAsyncBucket. getAndLock(String id, int lockTime, long timeout, TimeUnit timeUnit)rx.Observable<JsonDocument>AsyncBucket. getAndTouch(String id, int expiry)Retrieve and touch aJsonDocumentby its unique ID.rx.Observable<JsonDocument>AsyncBucket. getAndTouch(String id, int expiry, long timeout, TimeUnit timeUnit)Retrieve and touch aJsonDocumentby its unique ID with a custom timeout.rx.Observable<JsonDocument>CouchbaseAsyncBucket. getAndTouch(String id, int expiry)rx.Observable<JsonDocument>CouchbaseAsyncBucket. getAndTouch(String id, int expiry, long timeout, TimeUnit timeUnit)rx.Observable<JsonDocument>AsyncBucket. getFromReplica(String id, ReplicaMode type)Retrieves one or more, possibly stale, representations of aJsonDocumentby its unique ID.rx.Observable<JsonDocument>AsyncBucket. getFromReplica(String id, ReplicaMode type, long timeout, TimeUnit timeUnit)Retrieves one or more, possibly stale, representations of aJsonDocumentby its unique ID.Iterator<JsonDocument>Bucket. getFromReplica(String id)Retrieves one or more, possibly stale, representations of aJsonDocumentby its unique ID with the default timeout.Iterator<JsonDocument>Bucket. getFromReplica(String id, long timeout, TimeUnit timeUnit)Retrieves one or more, possibly stale, representations of aJsonDocumentby its unique ID with a custom timeout.List<JsonDocument>Bucket. getFromReplica(String id, ReplicaMode type)Retrieves one or more, possibly stale, representations of aJsonDocumentby its unique ID with the default timeout.List<JsonDocument>Bucket. getFromReplica(String id, ReplicaMode type, long timeout, TimeUnit timeUnit)Retrieves one or more, possibly stale, representations of aJsonDocumentby its unique ID with a custom timeout.rx.Observable<JsonDocument>CouchbaseAsyncBucket. getFromReplica(String id, ReplicaMode type)rx.Observable<JsonDocument>CouchbaseAsyncBucket. getFromReplica(String id, ReplicaMode type, long timeout, TimeUnit timeUnit)Iterator<JsonDocument>CouchbaseBucket. getFromReplica(String id)Iterator<JsonDocument>CouchbaseBucket. getFromReplica(String id, long timeout, TimeUnit timeUnit)List<JsonDocument>CouchbaseBucket. getFromReplica(String id, ReplicaMode type)List<JsonDocument>CouchbaseBucket. getFromReplica(String id, ReplicaMode type, long timeout, TimeUnit timeUnit)rx.Observable<JsonDocument>AsyncBucket. remove(String id)Removes aDocumentfrom the Server identified by its ID.rx.Observable<JsonDocument>AsyncBucket. remove(String id, long timeout, TimeUnit timeUnit)Removes aDocumentfrom the Server identified by its ID.rx.Observable<JsonDocument>AsyncBucket. remove(String id, PersistTo persistTo)Removes aDocumentfrom the Server by its ID and apply a durability requirement.rx.Observable<JsonDocument>AsyncBucket. remove(String id, PersistTo persistTo, long timeout, TimeUnit timeUnit)Removes aDocumentfrom the Server by its ID and apply a durability requirement.rx.Observable<JsonDocument>AsyncBucket. remove(String id, PersistTo persistTo, ReplicateTo replicateTo)Removes aDocumentfrom the Server by its ID and apply a durability requirement.rx.Observable<JsonDocument>AsyncBucket. remove(String id, PersistTo persistTo, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)Removes aDocumentfrom the Server by its ID and apply a durability requirement.rx.Observable<JsonDocument>AsyncBucket. remove(String id, ReplicateTo replicateTo)Removes aDocumentfrom the Server by its ID and apply a durability requirement.rx.Observable<JsonDocument>AsyncBucket. remove(String id, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)Removes aDocumentfrom the Server by its ID and apply a durability requirement.rx.Observable<JsonDocument>CouchbaseAsyncBucket. remove(String id)rx.Observable<JsonDocument>CouchbaseAsyncBucket. remove(String id, long timeout, TimeUnit timeUnit)rx.Observable<JsonDocument>CouchbaseAsyncBucket. remove(String id, PersistTo persistTo)rx.Observable<JsonDocument>CouchbaseAsyncBucket. remove(String id, PersistTo persistTo, long timeout, TimeUnit timeUnit)rx.Observable<JsonDocument>CouchbaseAsyncBucket. remove(String id, PersistTo persistTo, ReplicateTo replicateTo)rx.Observable<JsonDocument>CouchbaseAsyncBucket. remove(String id, PersistTo persistTo, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)rx.Observable<JsonDocument>CouchbaseAsyncBucket. remove(String id, ReplicateTo replicateTo)rx.Observable<JsonDocument>CouchbaseAsyncBucket. remove(String id, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit) -
Uses of JsonDocument in com.couchbase.client.java.datastructures
Methods in com.couchbase.client.java.datastructures that return types with arguments of type JsonDocument Modifier and Type Method Description static rx.functions.Func1<JsonDocument,DocumentFragment<Mutation>>ResultMappingUtils. getMapFullDocResultToSubDocFn(Mutation mutation)Creates anonymous function for mapping full JsonDocument insert result to document fragment result -
Uses of JsonDocument in com.couchbase.client.java.document
Methods in com.couchbase.client.java.document that return JsonDocument Modifier and Type Method Description static JsonDocumentJsonDocument. create(String id)Creates aJsonDocumentwhich the document id.static JsonDocumentJsonDocument. create(String id, int expiry, JsonObject content)Creates aJsonDocumentwhich the document id, JSON content and the expiration time.static JsonDocumentJsonDocument. create(String id, int expiry, JsonObject content, long cas)Creates aJsonDocumentwhich the document id, JSON content, CAS value, expiration time and status code.static JsonDocumentJsonDocument. create(String id, int expiry, JsonObject content, long cas, MutationToken mutationToken)Creates aJsonDocumentwhich the document id, JSON content, CAS value, expiration time and status code.static JsonDocumentJsonDocument. create(String id, JsonObject content)Creates aJsonDocumentwhich the document id and JSON content.static JsonDocumentJsonDocument. create(String id, JsonObject content, long cas)Creates aJsonDocumentwhich the document id, JSON content and the CAS value.static JsonDocumentJsonDocument. from(JsonDocument doc, long cas)Creates a copy from a differentJsonDocument, but changes the CAS value.static JsonDocumentJsonDocument. from(JsonDocument doc, JsonObject content)Creates a copy from a differentJsonDocument, but changes the content.static JsonDocumentJsonDocument. from(JsonDocument doc, String id)Creates a copy from a differentJsonDocument, but changes the document ID.static JsonDocumentJsonDocument. from(JsonDocument doc, String id, JsonObject content)Creates a copy from a differentJsonDocument, but changes the document ID and content.Methods in com.couchbase.client.java.document with parameters of type JsonDocument Modifier and Type Method Description static JsonDocumentJsonDocument. from(JsonDocument doc, long cas)Creates a copy from a differentJsonDocument, but changes the CAS value.static JsonDocumentJsonDocument. from(JsonDocument doc, JsonObject content)Creates a copy from a differentJsonDocument, but changes the content.static JsonDocumentJsonDocument. from(JsonDocument doc, String id)Creates a copy from a differentJsonDocument, but changes the document ID.static JsonDocumentJsonDocument. from(JsonDocument doc, String id, JsonObject content)Creates a copy from a differentJsonDocument, but changes the document ID and content. -
Uses of JsonDocument in com.couchbase.client.java.repository.mapping
Methods in com.couchbase.client.java.repository.mapping that return JsonDocument Modifier and Type Method Description JsonDocumentDefaultEntityConverter. fromEntity(EntityDocument<Object> source)Methods in com.couchbase.client.java.repository.mapping with parameters of type JsonDocument Modifier and Type Method Description <T> EntityDocument<T>DefaultEntityConverter. toEntity(JsonDocument source, Class<T> clazz) -
Uses of JsonDocument in com.couchbase.client.java.transcoder
Methods in com.couchbase.client.java.transcoder that return JsonDocument Modifier and Type Method Description protected JsonDocumentJsonTranscoder. doDecode(String id, com.couchbase.client.deps.io.netty.buffer.ByteBuf content, long cas, int expiry, int flags, ResponseStatus status)JsonDocumentJsonTranscoder. newDocument(String id, int expiry, JsonObject content, long cas)JsonDocumentJsonTranscoder. newDocument(String id, int expiry, JsonObject content, long cas, MutationToken mutationToken)Methods in com.couchbase.client.java.transcoder that return types with arguments of type JsonDocument Modifier and Type Method Description Class<JsonDocument>JsonTranscoder. documentType()Methods in com.couchbase.client.java.transcoder with parameters of type JsonDocument Modifier and Type Method Description protected Tuple2<com.couchbase.client.deps.io.netty.buffer.ByteBuf,Integer>JsonTranscoder. doEncode(JsonDocument document) -
Uses of JsonDocument in com.couchbase.client.java.transcoder.crypto
Methods in com.couchbase.client.java.transcoder.crypto that return JsonDocument Modifier and Type Method Description protected JsonDocumentJsonCryptoTranscoder. doDecode(String id, com.couchbase.client.deps.io.netty.buffer.ByteBuf content, long cas, int expiry, int flags, ResponseStatus status)JsonDocumentJsonCryptoTranscoder. newDocument(String id, int expiry, JsonObject content, long cas)JsonDocumentJsonCryptoTranscoder. newDocument(String id, int expiry, JsonObject content, long cas, MutationToken mutationToken)Methods in com.couchbase.client.java.transcoder.crypto that return types with arguments of type JsonDocument Modifier and Type Method Description Class<JsonDocument>JsonCryptoTranscoder. documentType()Methods in com.couchbase.client.java.transcoder.crypto with parameters of type JsonDocument Modifier and Type Method Description protected Tuple2<com.couchbase.client.deps.io.netty.buffer.ByteBuf,Integer>JsonCryptoTranscoder. doEncode(JsonDocument document) -
Uses of JsonDocument in com.couchbase.client.java.util
Methods in com.couchbase.client.java.util that return types with arguments of type JsonDocument Modifier and Type Method Description rx.Single<JsonDocument>TransparentReplicaGetHelper. getFirstPrimaryOrReplica(String id, Bucket bucket)Asynchronously fetch the document from the primary and if that operations fails try all the replicas and return the first document that comes back from them (using the environments KV timeout for both primary and replica).rx.Single<JsonDocument>TransparentReplicaGetHelper. getFirstPrimaryOrReplica(String id, Bucket bucket, long timeout)Asynchronously fetch the document from the primary and if that operations fails try all the replicas and return the first document that comes back from them (with a custom timeout value applied to both primary and replica).rx.Single<JsonDocument>TransparentReplicaGetHelper. getFirstPrimaryOrReplica(String id, Bucket bucket, long primaryTimeout, long replicaTimeout)Asynchronously fetch the document from the primary and if that operations fails try all the replicas and return the first document that comes back from them (with custom primary and replica timeout values). -
Uses of JsonDocument in com.couchbase.client.java.view
Methods in com.couchbase.client.java.view that return JsonDocument Modifier and Type Method Description JsonDocumentDefaultSpatialViewRow. document()JsonDocumentDefaultSpatialViewRow. document(long timeout, TimeUnit timeUnit)JsonDocumentDefaultViewRow. document()JsonDocumentDefaultViewRow. document(long timeout, TimeUnit timeUnit)JsonDocumentSpatialViewRow. document()Load the underlying document, if not reduced with the default view timeout.JsonDocumentSpatialViewRow. document(long timeout, TimeUnit timeUnit)Load the underlying document, if not reduced with a custom timeout.JsonDocumentViewRow. document()Load the underlying document, if not reduced with the default view timeout.JsonDocumentViewRow. document(long timeout, TimeUnit timeUnit)Load the underlying document, if not reduced with a custom timeout.Methods in com.couchbase.client.java.view that return types with arguments of type JsonDocument Modifier and Type Method Description rx.Observable<JsonDocument>AsyncSpatialViewRow. document()Load the underlying document.rx.Observable<JsonDocument>AsyncViewRow. document()Load the underlying document, if not reduced.rx.Observable<JsonDocument>DefaultAsyncSpatialViewRow. document()rx.Observable<JsonDocument>DefaultAsyncViewRow. document()
-