Uses of Class
com.couchbase.client.java.Collection
Package | Description |
---|---|
com.couchbase.client.java |
Holds all classes that are needed for the Couchbase Java SDK.
|
com.couchbase.client.java.batch | |
com.couchbase.client.java.datastructures | |
com.couchbase.client.java.json |
JSON encoding and decoding.
|
-
Uses of Collection in com.couchbase.client.java
Methods in com.couchbase.client.java that return Collection Modifier and Type Method Description Collection
Bucket. collection(String collectionName)
Opens the collection with the given name for thisBucket
.Collection
Scope. collection(String collectionName)
Opens a collection for this scope with an explicit name.Collection
Bucket. defaultCollection()
Opens the default collection for thisBucket
. -
Uses of Collection in com.couchbase.client.java.batch
Methods in com.couchbase.client.java.batch with parameters of type Collection Modifier and Type Method Description static List<String>
BatchHelper. exists(Collection collection, Collection<String> ids)
Returns a list of ids for the documents that exist.static Flux<String>
ReactiveBatchHelper. exists(Collection collection, Collection<String> ids)
Returns a flux of ids for the documents that exist.static Map<String,GetResult>
BatchHelper. getIfExists(Collection collection, Collection<String> ids)
First checks if the given IDs exist and if so fetches their contents.static Mono<Map<String,GetResult>>
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
Constructors in com.couchbase.client.java.datastructures with parameters of type Collection Constructor Description CouchbaseArrayList(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
Methods in com.couchbase.client.java.json with parameters of type Collection Modifier and Type Method Description JsonObjectCrypto
JsonObject. crypto(Collection collection)
Returns a view of the object for reading and writing encrypted fields.