Uses of Interface
com.couchbase.client.java.Bucket
-
-
Uses of Bucket in com.couchbase.client.java
Classes in com.couchbase.client.java that implement Bucket Modifier and Type Class Description class
CouchbaseBucket
Methods in com.couchbase.client.java that return Bucket Modifier and Type Method Description Bucket
Cluster. openBucket()
Opens the default bucket with an empty password with the default connect timeout.Bucket
Cluster. openBucket(long timeout, TimeUnit timeUnit)
Opens the default bucket with an empty password with a custom timeout.Bucket
Cluster. openBucket(String name)
Opens the bucket with the given name, using the default timeout and the password from theAuthenticator
If no credential context can be found for the bucket when usingClassicAuthenticator
, the old behavior of defaulting to an empty password is used.Bucket
Cluster. openBucket(String name, long timeout, TimeUnit timeUnit)
Opens the bucket with the given name, using a custom timeout and the password from theAuthenticator
If no credential context can be found for the bucket when usingClassicAuthenticator
, the old behavior of defaulting to an empty password is used.Bucket
Cluster. openBucket(String name, String password)
Opens a bucket identified by its name and password with the default connect timeout.Bucket
Cluster. openBucket(String name, String password, long timeout, TimeUnit timeUnit)
Opens a bucket identified by its name and password with a custom timeout.Bucket
Cluster. openBucket(String name, String password, List<Transcoder<? extends Document,?>> transcoders)
Opens a bucket identified by its name and password with custom transcoders and with the default connect timeout.Bucket
Cluster. openBucket(String name, String password, List<Transcoder<? extends Document,?>> transcoders, long timeout, TimeUnit timeUnit)
Opens a bucket identified by its name and password with custom transcoders and with a custom timeout.Bucket
Cluster. openBucket(String name, List<Transcoder<? extends Document,?>> transcoders)
Opens the bucket with the given name, using the default timeout and the password from theAuthenticator
If no credential context can be found for the bucket when usingClassicAuthenticator
, the old behavior of defaulting to an empty password is used.Bucket
Cluster. openBucket(String name, List<Transcoder<? extends Document,?>> transcoders, long timeout, TimeUnit timeUnit)
Opens the bucket with the given name, using a custom timeout and the password from theAuthenticator
If no credential context can be found for the bucket when usingClassicAuthenticator
, the old behavior of defaulting to an empty password is used.Bucket
CouchbaseCluster. openBucket()
Bucket
CouchbaseCluster. openBucket(long timeout, TimeUnit timeUnit)
Bucket
CouchbaseCluster. openBucket(String name)
Bucket
CouchbaseCluster. openBucket(String name, long timeout, TimeUnit timeUnit)
Bucket
CouchbaseCluster. openBucket(String name, String password)
Bucket
CouchbaseCluster. openBucket(String name, String password, long timeout, TimeUnit timeUnit)
Bucket
CouchbaseCluster. openBucket(String name, String password, List<Transcoder<? extends Document,?>> transcoders)
Bucket
CouchbaseCluster. openBucket(String name, String password, List<Transcoder<? extends Document,?>> transcoders, long timeout, TimeUnit timeUnit)
Bucket
CouchbaseCluster. openBucket(String name, List<Transcoder<? extends Document,?>> transcoders)
Bucket
CouchbaseCluster. openBucket(String name, List<Transcoder<? extends Document,?>> transcoders, long timeout, TimeUnit timeUnit)
-
Uses of Bucket in com.couchbase.client.java.datastructures.collections
Constructors in com.couchbase.client.java.datastructures.collections with parameters of type Bucket Constructor Description CouchbaseArrayList(String id, Bucket bucket)
CouchbaseArrayList(String id, Bucket bucket, E... content)
CouchbaseArrayList(String id, Bucket bucket, Collection<? extends E> content)
CouchbaseArraySet(String id, Bucket bucket)
Create a newCouchbaseArraySet
, backed by the document identified byid
in the given Couchbasebucket
.CouchbaseArraySet(String id, Bucket bucket, Set<? extends T> initialData)
Create a newCouchbaseArraySet
, backed by the document identified byid
in the given Couchbasebucket
.CouchbaseMap(String id, Bucket bucket)
CouchbaseMap(String id, Bucket bucket, Map<String,? extends V> data)
CouchbaseQueue(String id, Bucket bucket)
CouchbaseQueue(String id, Bucket bucket, E... content)
CouchbaseQueue(String id, Bucket bucket, Collection<? extends E> content)
-
Uses of Bucket in com.couchbase.client.java.datastructures.collections.iterators
Constructors in com.couchbase.client.java.datastructures.collections.iterators with parameters of type Bucket Constructor Description JsonArrayDocumentIterator(Bucket bucket, String id)
-
Uses of Bucket in com.couchbase.client.java.event.consumers
Methods in com.couchbase.client.java.event.consumers with parameters of type Bucket Modifier and Type Method Description static BucketConsumer
BucketConsumer. create(Bucket bucket)
static BucketConsumer
BucketConsumer. create(Bucket bucket, BucketConsumer.StoreType storeType)
-
Uses of Bucket in com.couchbase.client.java.repository
Constructors in com.couchbase.client.java.repository with parameters of type Bucket Constructor Description CouchbaseRepository(Bucket bucket, CouchbaseEnvironment environment)
-
Uses of Bucket in com.couchbase.client.java.util
Methods in com.couchbase.client.java.util with parameters of type Bucket Modifier and Type Method Description static NodeLocatorHelper
NodeLocatorHelper. create(Bucket bucket)
Creates a newNodeLocatorHelper
, mapped on to the givenBucket
.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).static <D extends Document<?>>
rx.Single<D>TransparentReplicaGetHelper. getFirstPrimaryOrReplica(String id, Class<D> target, 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).static <D extends Document<?>>
rx.Single<D>TransparentReplicaGetHelper. getFirstPrimaryOrReplica(String id, Class<D> target, 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).static <D extends Document<?>>
rx.Single<D>TransparentReplicaGetHelper. getFirstPrimaryOrReplica(String id, Class<D> target, 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.static rx.Completable
AnalyticsIngester. ingest(Bucket bucket, AnalyticsQuery query)
Takes anAnalyticsQuery
and ingests all rows back into the KV layer as documents with default settings applied.static rx.Completable
AnalyticsIngester. ingest(Bucket bucket, AnalyticsQuery query, AnalyticsIngester.IngestOptions options)
Takes anAnalyticsQuery
and ingests all rows back into the KV layer as documents. -
Uses of Bucket in com.couchbase.client.java.view
Constructors in com.couchbase.client.java.view with parameters of type Bucket Constructor Description DefaultSpatialViewResult(CouchbaseEnvironment env, Bucket bucket, rx.Observable<AsyncSpatialViewRow> rows, boolean success, rx.Observable<JsonObject> error, JsonObject debug)
DefaultViewResult(CouchbaseEnvironment env, Bucket bucket, rx.Observable<AsyncViewRow> rows, int totalRows, boolean success, rx.Observable<JsonObject> error, JsonObject debug)
-