Uses of Interface
com.couchbase.client.java.env.CouchbaseEnvironment
-
-
Uses of CouchbaseEnvironment in com.couchbase.client.java
Methods in com.couchbase.client.java that return CouchbaseEnvironment Modifier and Type Method Description CouchbaseEnvironmentAsyncBucket. environment()TheCouchbaseEnvironmentused.CouchbaseEnvironmentBucket. environment()TheCouchbaseEnvironmentused.CouchbaseEnvironmentCouchbaseAsyncBucket. environment()CouchbaseEnvironmentCouchbaseBucket. environment()Methods in com.couchbase.client.java with parameters of type CouchbaseEnvironment Modifier and Type Method Description static CouchbaseAsyncClusterCouchbaseAsyncCluster. create(CouchbaseEnvironment environment)Creates a newCouchbaseAsyncClusterreference against theCouchbaseAsyncCluster.DEFAULT_HOST.static CouchbaseAsyncClusterCouchbaseAsyncCluster. create(CouchbaseEnvironment environment, String... nodes)Creates a newCouchbaseAsyncClusterreference against the nodes passed in.static CouchbaseAsyncClusterCouchbaseAsyncCluster. create(CouchbaseEnvironment environment, List<String> nodes)Creates a newCouchbaseAsyncClusterreference against the nodes passed in.static CouchbaseClusterCouchbaseCluster. create(CouchbaseEnvironment environment)Creates a newCouchbaseClusterreference against theCouchbaseAsyncCluster.DEFAULT_HOST.static CouchbaseClusterCouchbaseCluster. create(CouchbaseEnvironment environment, String... nodes)Creates a newCouchbaseClusterreference against the nodes passed in.static CouchbaseClusterCouchbaseCluster. create(CouchbaseEnvironment environment, List<String> nodes)Creates a newCouchbaseClusterreference against the nodes passed in.static CouchbaseAsyncClusterCouchbaseAsyncCluster. fromConnectionString(CouchbaseEnvironment environment, String connectionString)Creates a newCouchbaseAsyncClusterreference using the connection string.static CouchbaseClusterCouchbaseCluster. fromConnectionString(CouchbaseEnvironment environment, String connectionString)Creates a newCouchbaseClusterreference using the connection string.Constructors in com.couchbase.client.java with parameters of type CouchbaseEnvironment Constructor Description CouchbaseAsyncBucket(ClusterFacade core, CouchbaseEnvironment environment, String name, String username, String password, List<Transcoder<? extends Document,?>> customTranscoders)CouchbaseAsyncBucket(ClusterFacade core, CouchbaseEnvironment environment, String name, String password, List<Transcoder<? extends Document,?>> customTranscoders)CouchbaseBucket(AsyncBucket asyncBucket, CouchbaseEnvironment env, ClusterFacade core, String name, String username, String password)Create aCouchbaseBucketthat relies on the providedAsyncBucket.CouchbaseBucket(CouchbaseEnvironment env, ClusterFacade core, String name, String username, String password, List<Transcoder<? extends Document,?>> customTranscoders)Create aCouchbaseBucketthat doesn't reuse an existingAsyncBucketbut rather creates one internally. -
Uses of CouchbaseEnvironment in com.couchbase.client.java.analytics
Methods in com.couchbase.client.java.analytics with parameters of type CouchbaseEnvironment Modifier and Type Method Description rx.Observable<AsyncAnalyticsQueryResult>AnalyticsQueryExecutor. execute(AnalyticsQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)Constructors in com.couchbase.client.java.analytics with parameters of type CouchbaseEnvironment Constructor Description DefaultAsyncAnalyticsDeferredResultHandle(String handle, CouchbaseEnvironment env, ClusterFacade core, String bucket, String username, String password, long timeout, TimeUnit timeunit) -
Uses of CouchbaseEnvironment in com.couchbase.client.java.bucket
Methods in com.couchbase.client.java.bucket with parameters of type CouchbaseEnvironment Modifier and Type Method Description static DefaultAsyncBucketManagerDefaultAsyncBucketManager. create(String bucket, String password, ClusterFacade core, CouchbaseEnvironment env)static DefaultAsyncBucketManagerDefaultAsyncBucketManager. create(String bucket, String username, String password, ClusterFacade core, CouchbaseEnvironment env)static DefaultBucketManagerDefaultBucketManager. create(CouchbaseEnvironment environment, String bucket, String password, ClusterFacade core)static DefaultBucketManagerDefaultBucketManager. create(CouchbaseEnvironment environment, String bucket, String username, String password, ClusterFacade core)static <D extends Document<?>>
rx.Observable<D>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 givenReplicaMode. -
Uses of CouchbaseEnvironment in com.couchbase.client.java.bucket.api
Methods in com.couchbase.client.java.bucket.api with parameters of type CouchbaseEnvironment Modifier and Type Method Description static voidUtils. addRequestSpan(CouchbaseEnvironment env, CouchbaseRequest request, String opName)static voidUtils. addRequestSpanWithParent(CouchbaseEnvironment env, io.opentracing.Span parent, CouchbaseRequest request, String opName)static <D extends Document<?>>
rx.Observable<D>Mutate. append(D document, CouchbaseEnvironment env, Transcoder<Document<Object>,Object> transcoder, ClusterFacade core, String bucket, long timeout, TimeUnit timeUnit, io.opentracing.Span parent)static <T> rx.Observable<T>Utils. applyTimeout(rx.Observable<T> input, CouchbaseRequest request, CouchbaseEnvironment environment, long timeout, TimeUnit timeUnit)static rx.Observable<JsonLongDocument>Mutate. counter(String id, long delta, long initial, int expiry, CouchbaseEnvironment env, ClusterFacade core, String bucket, long timeout, TimeUnit timeUnit, io.opentracing.Span parent)static rx.Observable<Boolean>Exists. exists(String id, CouchbaseEnvironment environment, ClusterFacade core, String bucket, long timeout, TimeUnit timeUnit)static <D extends Document<?>>
rx.Observable<D>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<?>>
rx.Observable<D>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<?>>
rx.Observable<D>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)static <D extends Document<?>>
rx.Observable<D>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<?>>
rx.Observable<D>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<?>>
rx.Observable<D>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<?>>
rx.Observable<D>Mutate. replace(D document, CouchbaseEnvironment env, Transcoder<Document<Object>,Object> transcoder, ClusterFacade core, String bucket, long timeout, TimeUnit timeUnit, io.opentracing.Span parent)static rx.Observable<Boolean>Mutate. touch(String id, int expiry, CouchbaseEnvironment env, ClusterFacade core, String bucket, long timeout, TimeUnit timeUnit)static rx.Observable<Boolean>Mutate. unlock(String id, long cas, CouchbaseEnvironment env, ClusterFacade core, String bucket, long timeout, TimeUnit timeUnit)static <D extends Document<?>>
rx.Observable<D>Mutate. upsert(D document, CouchbaseEnvironment env, Transcoder<Document<Object>,Object> transcoder, ClusterFacade core, String bucket, long timeout, TimeUnit timeUnit, io.opentracing.Span parent)Constructors in com.couchbase.client.java.bucket.api with parameters of type CouchbaseEnvironment Constructor Description GetFilter(CouchbaseEnvironment environment)GetMap(CouchbaseEnvironment environment, Map<Class<? extends Document>,Transcoder<? extends Document,?>> transcoders, Class<D> target, String id) -
Uses of CouchbaseEnvironment in com.couchbase.client.java.cluster
Methods in com.couchbase.client.java.cluster with parameters of type CouchbaseEnvironment Modifier and Type Method Description static DefaultAsyncClusterManagerDefaultAsyncClusterManager. create(String username, String password, ConnectionString connectionString, CouchbaseEnvironment environment, ClusterFacade core)static DefaultClusterManagerDefaultClusterManager. create(String username, String password, ConnectionString connectionString, CouchbaseEnvironment environment, ClusterFacade core) -
Uses of CouchbaseEnvironment in com.couchbase.client.java.env
Classes in com.couchbase.client.java.env that implement CouchbaseEnvironment Modifier and Type Class Description classDefaultCouchbaseEnvironmentThe default implementation of aCouchbaseEnvironment. -
Uses of CouchbaseEnvironment in com.couchbase.client.java.query.core
Methods in com.couchbase.client.java.query.core with parameters of type CouchbaseEnvironment Modifier and Type Method Description protected rx.Observable<AsyncN1qlQueryResult>N1qlQueryExecutor. dispatchPrepared(N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)rx.Observable<AsyncN1qlQueryResult>N1qlQueryExecutor. execute(N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)protected rx.Observable<AsyncN1qlQueryResult>N1qlQueryExecutor. executePrepared(N1qlQuery query, PreparedPayload payload, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)Issues a proper N1QL EXECUTE, detecting if parameters must be added to it.protected rx.Observable<AsyncN1qlQueryResult>N1qlQueryExecutor. executeQuery(N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)Internal: Queries a N1QL secondary index.protected rx.Observable<AsyncN1qlQueryResult>N1qlQueryExecutor. prepareAndExecute(N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)Issues a N1QL PREPARE, puts the plan in cache then EXECUTE it.protected rx.Observable<AsyncN1qlQueryResult>N1qlQueryExecutor. retryPrepareAndExecuteOnce(Throwable error, N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)In case the error warrants a retry, issue a PREPARE, followed by an update of the cache and an EXECUTE. -
Uses of CouchbaseEnvironment in com.couchbase.client.java.repository
Constructors in com.couchbase.client.java.repository with parameters of type CouchbaseEnvironment Constructor Description CouchbaseRepository(Bucket bucket, CouchbaseEnvironment environment) -
Uses of CouchbaseEnvironment in com.couchbase.client.java.search.core
Constructors in com.couchbase.client.java.search.core with parameters of type CouchbaseEnvironment Constructor Description SearchQueryExecutor(CouchbaseEnvironment environment, ClusterFacade core, String bucket, String username, String password) -
Uses of CouchbaseEnvironment in com.couchbase.client.java.subdoc
Constructors in com.couchbase.client.java.subdoc with parameters of type CouchbaseEnvironment Constructor Description AsyncLookupInBuilder(ClusterFacade core, String bucketName, CouchbaseEnvironment environment, FragmentTranscoder transcoder, String docId)Instances of this builder should be obtained throughAsyncBucket.lookupIn(String)rather than directly constructed.AsyncMutateInBuilder(ClusterFacade core, String bucketName, CouchbaseEnvironment environment, FragmentTranscoder transcoder, String docId)Instances of this builder should be obtained throughAsyncBucket.mutateIn(String)rather than directly constructed. -
Uses of CouchbaseEnvironment in com.couchbase.client.java.util.rawQuerying
Constructors in com.couchbase.client.java.util.rawQuerying with parameters of type CouchbaseEnvironment Constructor Description RawQueryExecutor(AsyncRawQueryExecutor async, CouchbaseEnvironment env)RawQueryExecutor(String bucket, String password, ClusterFacade core, CouchbaseEnvironment env)RawQueryExecutor(String bucket, String username, String password, ClusterFacade core, CouchbaseEnvironment env) -
Uses of CouchbaseEnvironment in com.couchbase.client.java.view
Constructors in com.couchbase.client.java.view with parameters of type CouchbaseEnvironment Constructor Description DefaultSpatialViewResult(CouchbaseEnvironment env, Bucket bucket, rx.Observable<AsyncSpatialViewRow> rows, boolean success, rx.Observable<JsonObject> error, JsonObject debug)DefaultSpatialViewRow(CouchbaseEnvironment env, AsyncSpatialViewRow asyncViewRow)DefaultViewResult(CouchbaseEnvironment env, Bucket bucket, rx.Observable<AsyncViewRow> rows, int totalRows, boolean success, rx.Observable<JsonObject> error, JsonObject debug)DefaultViewRow(CouchbaseEnvironment env, AsyncViewRow asyncViewRow)
-