Package | Description |
---|---|
com.couchbase.client.java.bucket | |
com.couchbase.client.java.view |
Modifier and Type | Method and Description |
---|---|
DesignDocument |
DefaultBucketManager.getDesignDocument(String name) |
DesignDocument |
BucketManager.getDesignDocument(String name)
Loads a published
DesignDocument by its name with the default management timeout. |
DesignDocument |
DefaultBucketManager.getDesignDocument(String name,
boolean development) |
DesignDocument |
BucketManager.getDesignDocument(String name,
boolean development)
Loads a
DesignDocument by its name from either development or production with the default management timeout. |
DesignDocument |
DefaultBucketManager.getDesignDocument(String name,
boolean development,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.getDesignDocument(String name,
boolean development,
long timeout,
TimeUnit timeUnit)
Loads a
DesignDocument s by its name from either development or production with a custom timeout. |
DesignDocument |
DefaultBucketManager.getDesignDocument(String name,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.getDesignDocument(String name,
long timeout,
TimeUnit timeUnit)
Loads a published
DesignDocument by its name with the a custom timeout. |
DesignDocument |
DefaultBucketManager.insertDesignDocument(DesignDocument designDocument) |
DesignDocument |
BucketManager.insertDesignDocument(DesignDocument designDocument)
Inserts a
DesignDocument into production if it does not exist with the default management timeout. |
DesignDocument |
DefaultBucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development) |
DesignDocument |
BucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development)
Inserts a
DesignDocument into development or production if it does not exist with the default management timeout. |
DesignDocument |
DefaultBucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development,
long timeout,
TimeUnit timeUnit)
Inserts a
DesignDocument into development or production if it does not exist with a custom timeout. |
DesignDocument |
DefaultBucketManager.insertDesignDocument(DesignDocument designDocument,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.insertDesignDocument(DesignDocument designDocument,
long timeout,
TimeUnit timeUnit)
Inserts a
DesignDocument into production if it does not exist with a custom timeout. |
DesignDocument |
DefaultBucketManager.publishDesignDocument(String name) |
DesignDocument |
BucketManager.publishDesignDocument(String name)
Publishes a
DesignDocument from development into production with the default management timeout. |
DesignDocument |
DefaultBucketManager.publishDesignDocument(String name,
boolean overwrite) |
DesignDocument |
BucketManager.publishDesignDocument(String name,
boolean overwrite)
Publishes a
DesignDocument from development into production with the default management timeout. |
DesignDocument |
DefaultBucketManager.publishDesignDocument(String name,
boolean overwrite,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.publishDesignDocument(String name,
boolean overwrite,
long timeout,
TimeUnit timeUnit)
Publishes a
DesignDocument from development into production with a custom timeout. |
DesignDocument |
DefaultBucketManager.publishDesignDocument(String name,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.publishDesignDocument(String name,
long timeout,
TimeUnit timeUnit)
Publishes a
DesignDocument from development into production with a custom timeout. |
DesignDocument |
DefaultBucketManager.upsertDesignDocument(DesignDocument designDocument) |
DesignDocument |
BucketManager.upsertDesignDocument(DesignDocument designDocument)
Upserts (inserts or replaces) a
DesignDocument into production with the default management timeout. |
DesignDocument |
DefaultBucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development) |
DesignDocument |
BucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development)
Upserts (inserts or replaces) a
DesignDocument into production or development with the default management timeout. |
DesignDocument |
DefaultBucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development,
long timeout,
TimeUnit timeUnit)
Upserts (inserts or replaces) a
DesignDocument into production or development with a custom timeout. |
DesignDocument |
DefaultBucketManager.upsertDesignDocument(DesignDocument designDocument,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.upsertDesignDocument(DesignDocument designDocument,
long timeout,
TimeUnit timeUnit)
Upserts (inserts or replaces) a
DesignDocument into production with a custom timeout. |
Modifier and Type | Method and Description |
---|---|
Observable<DesignDocument> |
DefaultAsyncBucketManager.getDesignDocument(String name) |
Observable<DesignDocument> |
AsyncBucketManager.getDesignDocument(String name)
Loads a published
DesignDocument by its name. |
Observable<DesignDocument> |
DefaultAsyncBucketManager.getDesignDocument(String name,
boolean development) |
Observable<DesignDocument> |
AsyncBucketManager.getDesignDocument(String name,
boolean development)
Loads a
DesignDocument by its name from either development or production. |
List<DesignDocument> |
DefaultBucketManager.getDesignDocuments() |
Observable<DesignDocument> |
DefaultAsyncBucketManager.getDesignDocuments() |
List<DesignDocument> |
BucketManager.getDesignDocuments()
Loads all published
DesignDocument s with the default management timeout. |
Observable<DesignDocument> |
AsyncBucketManager.getDesignDocuments()
Loads all published
DesignDocument s. |
List<DesignDocument> |
DefaultBucketManager.getDesignDocuments(boolean development) |
Observable<DesignDocument> |
DefaultAsyncBucketManager.getDesignDocuments(boolean development) |
List<DesignDocument> |
BucketManager.getDesignDocuments(boolean development)
Loads all
DesignDocument s from either development or production with the default management timeout. |
Observable<DesignDocument> |
AsyncBucketManager.getDesignDocuments(boolean development)
Loads all
DesignDocument s from development or production. |
List<DesignDocument> |
DefaultBucketManager.getDesignDocuments(boolean development,
long timeout,
TimeUnit timeUnit) |
List<DesignDocument> |
BucketManager.getDesignDocuments(boolean development,
long timeout,
TimeUnit timeUnit)
Loads all
DesignDocument s from either development or production with a custom timeout. |
List<DesignDocument> |
DefaultBucketManager.getDesignDocuments(long timeout,
TimeUnit timeUnit) |
List<DesignDocument> |
BucketManager.getDesignDocuments(long timeout,
TimeUnit timeUnit)
Loads all published
DesignDocument s with a custom timeout. |
Observable<DesignDocument> |
DefaultAsyncBucketManager.insertDesignDocument(DesignDocument designDocument) |
Observable<DesignDocument> |
AsyncBucketManager.insertDesignDocument(DesignDocument designDocument)
Inserts a
DesignDocument into production if it does not exist. |
Observable<DesignDocument> |
DefaultAsyncBucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development) |
Observable<DesignDocument> |
AsyncBucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development)
Inserts a
DesignDocument into development or production if it does not exist. |
Observable<DesignDocument> |
DefaultAsyncBucketManager.publishDesignDocument(String name) |
Observable<DesignDocument> |
AsyncBucketManager.publishDesignDocument(String name)
Publishes a
DesignDocument from development into production. |
Observable<DesignDocument> |
DefaultAsyncBucketManager.publishDesignDocument(String name,
boolean overwrite) |
Observable<DesignDocument> |
AsyncBucketManager.publishDesignDocument(String name,
boolean overwrite)
Publishes a
DesignDocument from development into production. |
Observable<DesignDocument> |
DefaultAsyncBucketManager.upsertDesignDocument(DesignDocument designDocument) |
Observable<DesignDocument> |
AsyncBucketManager.upsertDesignDocument(DesignDocument designDocument)
Upserts (inserts or replaces) a
DesignDocument into production. |
Observable<DesignDocument> |
DefaultAsyncBucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development) |
Observable<DesignDocument> |
AsyncBucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development)
Upserts (inserts or replaces) a
DesignDocument into production or development. |
Modifier and Type | Method and Description |
---|---|
DesignDocument |
DefaultBucketManager.insertDesignDocument(DesignDocument designDocument) |
Observable<DesignDocument> |
DefaultAsyncBucketManager.insertDesignDocument(DesignDocument designDocument) |
DesignDocument |
BucketManager.insertDesignDocument(DesignDocument designDocument)
Inserts a
DesignDocument into production if it does not exist with the default management timeout. |
Observable<DesignDocument> |
AsyncBucketManager.insertDesignDocument(DesignDocument designDocument)
Inserts a
DesignDocument into production if it does not exist. |
DesignDocument |
DefaultBucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development) |
Observable<DesignDocument> |
DefaultAsyncBucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development) |
DesignDocument |
BucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development)
Inserts a
DesignDocument into development or production if it does not exist with the default management timeout. |
Observable<DesignDocument> |
AsyncBucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development)
Inserts a
DesignDocument into development or production if it does not exist. |
DesignDocument |
DefaultBucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.insertDesignDocument(DesignDocument designDocument,
boolean development,
long timeout,
TimeUnit timeUnit)
Inserts a
DesignDocument into development or production if it does not exist with a custom timeout. |
DesignDocument |
DefaultBucketManager.insertDesignDocument(DesignDocument designDocument,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.insertDesignDocument(DesignDocument designDocument,
long timeout,
TimeUnit timeUnit)
Inserts a
DesignDocument into production if it does not exist with a custom timeout. |
DesignDocument |
DefaultBucketManager.upsertDesignDocument(DesignDocument designDocument) |
Observable<DesignDocument> |
DefaultAsyncBucketManager.upsertDesignDocument(DesignDocument designDocument) |
DesignDocument |
BucketManager.upsertDesignDocument(DesignDocument designDocument)
Upserts (inserts or replaces) a
DesignDocument into production with the default management timeout. |
Observable<DesignDocument> |
AsyncBucketManager.upsertDesignDocument(DesignDocument designDocument)
Upserts (inserts or replaces) a
DesignDocument into production. |
DesignDocument |
DefaultBucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development) |
Observable<DesignDocument> |
DefaultAsyncBucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development) |
DesignDocument |
BucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development)
Upserts (inserts or replaces) a
DesignDocument into production or development with the default management timeout. |
Observable<DesignDocument> |
AsyncBucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development)
Upserts (inserts or replaces) a
DesignDocument into production or development. |
DesignDocument |
DefaultBucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.upsertDesignDocument(DesignDocument designDocument,
boolean development,
long timeout,
TimeUnit timeUnit)
Upserts (inserts or replaces) a
DesignDocument into production or development with a custom timeout. |
DesignDocument |
DefaultBucketManager.upsertDesignDocument(DesignDocument designDocument,
long timeout,
TimeUnit timeUnit) |
DesignDocument |
BucketManager.upsertDesignDocument(DesignDocument designDocument,
long timeout,
TimeUnit timeUnit)
Upserts (inserts or replaces) a
DesignDocument into production with a custom timeout. |
Modifier and Type | Method and Description |
---|---|
static DesignDocument |
DesignDocument.create(String name,
List<View> views)
Creates a new
DesignDocument . |
static DesignDocument |
DesignDocument.create(String name,
List<View> views,
Map<DesignDocument.Option,Long> options)
Creates a new
DesignDocument . |
static DesignDocument |
DesignDocument.from(String name,
JsonObject raw)
Create a design document from a JSON representation of it.
|
Copyright © 2015 Couchbase, Inc.