Uses of Class
com.couchbase.client.java.kv.GetResult
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
Namespace for various kv-service related classes.
-
Uses of GetResult in com.couchbase.client.java
Modifier and TypeMethodDescriptionFetches the full document from this collection.Collection.get
(String id, GetOptions options) Fetches the full document from this collection with custom options.Collection.getAndLock
(String id, Duration lockTime) Fetches a full document and write-locks it for the given duration.Collection.getAndLock
(String id, Duration lockTime, GetAndLockOptions options) Fetches a full document and write-locks it for the given duration with custom options.Collection.getAndTouch
(String id, Duration expiry) Fetches a full document and resets its expiration time to the expiry provided.Collection.getAndTouch
(String id, Duration expiry, GetAndTouchOptions options) Fetches a full document and resets its expiration time to the expiry provided with custom options.Collection.getAndTouch
(String id, Instant expiry) Fetches a full document and resets its expiration time to the expiry provided.Collection.getAndTouch
(String id, Instant expiry, GetAndTouchOptions options) Fetches a full document and resets its expiration time to the expiry provided with custom options.Modifier and TypeMethodDescriptionFetches a full document (or a projection of it) from a collection with default options.AsyncCollection.get
(String id, GetOptions options) Fetches a full document (or a projection of it) from a collection with custom options.Fetches a Document from a collection with default options.ReactiveCollection.get
(String id, GetOptions options) Fetches a Document from a collection with custom options.AsyncCollection.getAndLock
(String id, Duration lockTime) Fetches a full document and write-locks it for the given duration with default options.AsyncCollection.getAndLock
(String id, Duration lockTime, GetAndLockOptions options) Fetches a full document and write-locks it for the given duration with custom options.ReactiveCollection.getAndLock
(String id, Duration lockTime) Fetches a full document and write-locks it for the given duration with default options.ReactiveCollection.getAndLock
(String id, Duration lockTime, GetAndLockOptions options) Fetches a full document and write-locks it for the given duration with custom options.AsyncCollection.getAndTouch
(String id, Duration expiry) Fetches a full document and resets its expiration time to the value provided with default options.AsyncCollection.getAndTouch
(String id, Duration expiry, GetAndTouchOptions options) Fetches a full document and resets its expiration time to the value provided with custom options.AsyncCollection.getAndTouch
(String id, Instant expiry) Fetches a full document and resets its expiration time to the value provided with default options.AsyncCollection.getAndTouch
(String id, Instant expiry, GetAndTouchOptions options) Fetches a full document and resets its expiration time to the value provided with custom options.ReactiveCollection.getAndTouch
(String id, Duration expiry) Fetches a full document and resets its expiration time to the value provided with default options.ReactiveCollection.getAndTouch
(String id, Duration expiry, GetAndTouchOptions options) Fetches a full document and resets its expiration time to the value provided with custom options.ReactiveCollection.getAndTouch
(String id, Instant expiry) Fetches a full document and resets its expiration time to the value provided with default options.ReactiveCollection.getAndTouch
(String id, Instant expiry, GetAndTouchOptions options) Fetches a full document and resets its expiration time to the value provided with custom options. -
Uses of GetResult in com.couchbase.client.java.batch
Modifier and TypeMethodDescriptionBatchHelper.getIfExists
(Collection collection, Collection<String> ids) First checks if the given IDs exist and if so fetches their contents.ReactiveBatchHelper.getIfExists
(Collection collection, Collection<String> ids) First checks if the given IDs exist and if so fetches their contents. -
Uses of GetResult in com.couchbase.client.java.kv
Modifier and TypeClassDescriptionclass
Extends GetResult to include additional information for get-from-replica style calls.