Modifier and Type | Method and Description |
---|---|
rx.Observable<AsyncBucket> |
CouchbaseAsyncCluster.openBucket(String name,
List<Transcoder<? extends Document,?>> transcoders) |
Bucket |
CouchbaseCluster.openBucket(String name,
List<Transcoder<? extends Document,?>> transcoders) |
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 the
Authenticator |
rx.Observable<AsyncBucket> |
AsyncCluster.openBucket(String name,
List<Transcoder<? extends Document,?>> transcoders)
Opens the bucket with the given name using the password from the
Authenticator that was last set |
Bucket |
CouchbaseCluster.openBucket(String name,
List<Transcoder<? extends Document,?>> transcoders,
long timeout,
TimeUnit timeUnit) |
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 the
Authenticator |
rx.Observable<AsyncBucket> |
CouchbaseAsyncCluster.openBucket(String name,
String password,
List<Transcoder<? extends Document,?>> transcoders) |
Bucket |
CouchbaseCluster.openBucket(String name,
String password,
List<Transcoder<? extends Document,?>> transcoders) |
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.
|
rx.Observable<AsyncBucket> |
AsyncCluster.openBucket(String name,
String password,
List<Transcoder<? extends Document,?>> transcoders)
Opens the bucket with the given name, password and a custom list of
Transcoder s. |
Bucket |
CouchbaseCluster.openBucket(String name,
String password,
List<Transcoder<? extends Document,?>> transcoders,
long timeout,
TimeUnit timeUnit) |
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.
|
Constructor and Description |
---|
CouchbaseAsyncBucket(ClusterFacade core,
CouchbaseEnvironment environment,
String name,
String password,
List<Transcoder<? extends Document,?>> customTranscoders) |
CouchbaseAsyncBucket(ClusterFacade core,
CouchbaseEnvironment environment,
String name,
String username,
String password,
List<Transcoder<? extends Document,?>> customTranscoders) |
CouchbaseBucket(CouchbaseEnvironment env,
ClusterFacade core,
String name,
String username,
String password,
List<Transcoder<? extends Document,?>> customTranscoders)
Create a
CouchbaseBucket that doesn’t reuse an existing AsyncBucket but rather creates one internally. |
Modifier and Type | Method and Description |
---|---|
static <D extends Document<?>> |
ReplicaReader.read(ClusterFacade core,
String id,
ReplicaMode type,
String bucket,
Map<Class<? extends Document>,Transcoder<? extends Document,?>> transcoders,
Class<D> target,
CouchbaseEnvironment environment,
long timeout,
TimeUnit timeUnit)
Perform replica reads to as many nodes a possible based on the given
ReplicaMode . |
Modifier and Type | Method and Description |
---|---|
static <D extends Document<?>> |
Mutate.append(D document,
CouchbaseEnvironment env,
Transcoder<Document<Object>,Object> transcoder,
ClusterFacade core,
String bucket,
long timeout,
TimeUnit timeUnit,
io.opentracing.Span parent) |
static <D extends Document<?>> |
Mutate.insert(D document,
CouchbaseEnvironment env,
Transcoder<Document<Object>,Object> transcoder,
ClusterFacade core,
String bucket,
long timeout,
TimeUnit timeUnit,
io.opentracing.Span parent) |
static <D extends Document<?>> |
Mutate.prepend(D document,
CouchbaseEnvironment env,
Transcoder<Document<Object>,Object> transcoder,
ClusterFacade core,
String bucket,
long timeout,
TimeUnit timeUnit,
io.opentracing.Span parent) |
static <D extends Document<?>> |
Mutate.remove(D document,
CouchbaseEnvironment env,
Transcoder<Document<Object>,Object> transcoder,
ClusterFacade core,
String bucket,
long timeout,
TimeUnit timeUnit,
io.opentracing.Span parent) |
static <D extends Document<?>> |
Mutate.replace(D document,
CouchbaseEnvironment env,
Transcoder<Document<Object>,Object> transcoder,
ClusterFacade core,
String bucket,
long timeout,
TimeUnit timeUnit,
io.opentracing.Span parent) |
static <D extends Document<?>> |
Mutate.upsert(D document,
CouchbaseEnvironment env,
Transcoder<Document<Object>,Object> transcoder,
ClusterFacade core,
String bucket,
long timeout,
TimeUnit timeUnit,
io.opentracing.Span parent) |
Modifier and Type | Method and Description |
---|---|
static <D extends Document<?>> |
Get.get(String id,
Class<D> target,
CouchbaseEnvironment environment,
String bucket,
ClusterFacade core,
Map<Class<? extends Document>,Transcoder<? extends Document,?>> transcoders,
long timeout,
TimeUnit timeUnit) |
static <D extends Document<?>> |
Get.getAndLock(String id,
Class<D> target,
CouchbaseEnvironment environment,
String bucket,
ClusterFacade core,
Map<Class<? extends Document>,Transcoder<? extends Document,?>> transcoders,
int lockTime,
long timeout,
TimeUnit timeUnit) |
static <D extends Document<?>> |
Get.getAndTouch(String id,
Class<D> target,
CouchbaseEnvironment environment,
String bucket,
ClusterFacade core,
Map<Class<? extends Document>,Transcoder<? extends Document,?>> transcoders,
int expiry,
long timeout,
TimeUnit timeUnit) |
Constructor and Description |
---|
GetMap(CouchbaseEnvironment environment,
Map<Class<? extends Document>,Transcoder<? extends Document,?>> transcoders,
Class<D> target,
String id) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTranscoder<D extends Document<T>,T>
Base
Transcoder which should be extended for compatibility. |
class |
BinaryTranscoder |
class |
ByteArrayTranscoder
A transcoder to encode and decode
ByteArrayDocument s. |
class |
JsonArrayTranscoder
A transcoder to encode and decode
JsonDocument s. |
class |
JsonBooleanTranscoder
A transcoder to encode and decode
JsonBooleanDocument s. |
class |
JsonDoubleTranscoder
A transcoder to encode and decode
JsonDoubleDocument s. |
class |
JsonLongTranscoder
A transcoder to encode and decode
JsonDoubleDocument s. |
class |
JsonStringTranscoder
A transcoder to encode and decode
JsonStringDocument s. |
class |
JsonTranscoder
A transcoder to encode and decode
JsonDocument s. |
class |
LegacyTranscoder
A
Transcoder which mimics the behavior of the Java SDK 1.* series for compatibility. |
class |
RawJsonTranscoder
A transcoder to encode and decode a
RawJsonDocument s. |
class |
SerializableTranscoder
A transcoder to encode and decode
SerializableDocument s. |
class |
StringTranscoder
A transcoder to encode and decode
StringDocument s. |
Modifier and Type | Class and Description |
---|---|
class |
JsonCryptoTranscoder
A transcoder to encode and decode with encryption/decryption support for
JsonDocument s. |
Copyright © 2015 Couchbase, Inc.