Uses of Class
com.couchbase.client.java.Collection
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
JSON encoding and decoding.
-
Uses of Collection in com.couchbase.client.java
Modifier and TypeMethodDescriptionBucket.collection
(String collectionName) Provides access to the collection with the given name for thisBucket
using the default scope.Scope.collection
(String collectionName) Opens a collection for this scope with an explicit name.Bucket.defaultCollection()
Opens the default collection for thisBucket
using the default scope. -
Uses of Collection in com.couchbase.client.java.batch
Modifier and TypeMethodDescriptionBatchHelper.exists
(Collection collection, Collection<String> ids) Returns a list of ids for the documents that exist.ReactiveBatchHelper.exists
(Collection collection, Collection<String> ids) Returns a flux of ids for the documents that exist.BatchHelper.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 Collection in com.couchbase.client.java.datastructures
ModifierConstructorDescriptionCouchbaseArrayList
(String id, Collection collection, Class<E> entityType, ArrayListOptions options) CouchbaseArraySet
(String id, Collection collection, Class<T> entityType, ArraySetOptions options) Create a newCouchbaseArraySet
, backed by the document identified byid
in the given Couchbasebucket
.CouchbaseMap
(String id, Collection collection, Class<E> entityType, MapOptions options) CouchbaseQueue
(String id, Collection collection, Class<E> entityType, QueueOptions options) -
Uses of Collection in com.couchbase.client.java.json
Modifier and TypeMethodDescriptionJsonObject.crypto
(Collection collection) Returns a view of the object for reading and writing encrypted fields. -
Uses of Collection in com.couchbase.client.java.manager.eventing
Modifier and TypeMethodDescriptionstatic EventingFunctionKeyspace
EventingFunctionKeyspace.create
(Collection collection) Creates a keyspace by extracting bucket, scope and collection from the collection instance. -
Uses of Collection in com.couchbase.client.java.transactions
Modifier and TypeMethodDescriptionTransactionAttemptContext.get
(Collection collection, String id) Gets a document from the specified Couchbasecollection
matching the specifiedid
.TransactionAttemptContext.get
(Collection collection, String id, TransactionGetOptions options) Gets a document from the specified Couchbasecollection
matching the specifiedid
.TransactionAttemptContext.insert
(Collection collection, String id, Object content) Inserts a new document into the specified Couchbasecollection
.TransactionAttemptContext.insert
(Collection collection, String id, Object content, TransactionInsertOptions options) Inserts a new document into the specified Couchbasecollection
. -
Uses of Collection in com.couchbase.client.java.transactions.config
Modifier and TypeMethodDescriptionTransactionOptions.metadataCollection
(Collection collection) Allows setting a custom collection to use for any transactional metadata documents created by this transaction.