Modifier and Type | Method and Description |
---|---|
JsonObject |
MutationState.export()
Exports the
MutationState into a universal format, which can be used either to serialize it into a N1QL query or to send it over the network to a different application/SDK. |
JsonObject |
MutationState.exportForFts()
Exports the
MutationState into a format recognized by the FTS search engine. |
Modifier and Type | Method and Description |
---|---|
static MutationState |
MutationState.from(JsonObject source)
Create a
MutationState from the serialized state. |
Modifier and Type | Method and Description |
---|---|
JsonObject |
AnalyticsMetrics.asJsonObject()
Exposes the underlying raw form of the metrics, as a
JsonObject . |
JsonObject |
SimpleAnalyticsQuery.query() |
abstract JsonObject |
AnalyticsQuery.query()
Returns the full query.
|
JsonObject |
DefaultAsyncAnalyticsQueryRow.value()
Return the
JsonObject representation of the JSON corresponding to this row. |
JsonObject |
DefaultAnalyticsQueryRow.value()
Return the
JsonObject representation of the JSON corresponding to this row. |
JsonObject |
AsyncAnalyticsQueryRow.value() |
JsonObject |
AnalyticsQueryRow.value() |
Modifier and Type | Method and Description |
---|---|
rx.Observable<JsonObject> |
DefaultAsyncAnalyticsQueryResult.errors() |
List<JsonObject> |
DefaultAnalyticsQueryResult.errors() |
rx.Observable<JsonObject> |
AsyncAnalyticsQueryResult.errors() |
List<JsonObject> |
AnalyticsQueryResult.errors() |
Modifier and Type | Method and Description |
---|---|
void |
AnalyticsParams.injectParams(JsonObject queryJson)
Modifies the given Analytics query (as a
JsonObject ) to reflect these N1qlParams . |
Constructor and Description |
---|
AnalyticsMetrics(JsonObject rawMetrics) |
Constructor and Description |
---|
DefaultAnalyticsQueryResult(List<AsyncAnalyticsQueryRow> rows,
Object signature,
AnalyticsMetrics info,
List<JsonObject> errors,
String finalStatus,
Boolean finalSuccess,
boolean parseSuccess,
String requestId,
String clientContextId)
Create a default blocking representation of a query result.
|
DefaultAsyncAnalyticsQueryResult(rx.Observable<AsyncAnalyticsQueryRow> rows,
rx.Observable<Object> signature,
rx.Observable<AnalyticsMetrics> info,
rx.Observable<JsonObject> errors,
rx.Observable<String> finalStatus,
boolean parsingSuccess,
String requestId,
String clientContextId) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
DefaultBucketInfo.raw() |
JsonObject |
BucketInfo.raw()
Raw JSON server response for advanced analysis.
|
Modifier and Type | Method and Description |
---|---|
static DefaultBucketInfo |
DefaultBucketInfo.create(JsonObject raw) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
DefaultClusterInfo.raw() |
JsonObject |
DefaultBucketSettings.raw() |
JsonObject |
DefaultBucketSettings.Builder.raw() |
JsonObject |
ClusterInfo.raw()
Provides raw access to the full JSON information from the server.
|
JsonObject |
BucketSettings.raw()
A raw representation of the bucket settings when acquired from the server.
|
Modifier and Type | Method and Description |
---|---|
DefaultBucketSettings |
DefaultBucketSettings.Builder.build(JsonObject raw)
Build the
BucketSettings from the data aggregated by this builder, and set its BucketSettings.raw() representation as well. |
Constructor and Description |
---|
DefaultClusterInfo(JsonObject raw) |
Modifier and Type | Method and Description |
---|---|
static JsonDocument |
JsonDocument.create(String id,
int expiry,
JsonObject content)
Creates a
JsonDocument which the document id, JSON content and the expiration time. |
static JsonDocument |
JsonDocument.create(String id,
int expiry,
JsonObject content,
long cas)
Creates a
JsonDocument which the document id, JSON content, CAS value, expiration time and status code. |
static JsonDocument |
JsonDocument.create(String id,
int expiry,
JsonObject content,
long cas,
MutationToken mutationToken)
Creates a
JsonDocument which the document id, JSON content, CAS value, expiration time and status code. |
static JsonDocument |
JsonDocument.create(String id,
JsonObject content)
Creates a
JsonDocument which the document id and JSON content. |
static JsonDocument |
JsonDocument.create(String id,
JsonObject content,
long cas)
Creates a
JsonDocument which the document id, JSON content and the CAS value. |
static JsonDocument |
JsonDocument.from(JsonDocument doc,
JsonObject content)
Creates a copy from a different
JsonDocument , but changes the content. |
static JsonDocument |
JsonDocument.from(JsonDocument doc,
String id,
JsonObject content)
Creates a copy from a different
JsonDocument , but changes the document ID and content. |
Modifier and Type | Method and Description |
---|---|
static JsonObject |
JsonObject.create()
Creates a empty
JsonObject . |
static JsonObject |
JsonObject.empty()
Creates a empty
JsonObject . |
static JsonObject |
JsonObject.from(Map<String,?> mapData)
Constructs a
JsonObject from a Map<String, ?> . |
static JsonObject |
JsonObject.fromJson(String s)
Static method to create a
JsonObject from a JSON String . |
JsonObject |
JsonArray.getObject(int index)
Retrieves the value by the position in the
JsonArray and casts it to JsonObject . |
JsonObject |
JsonObject.getObject(String name)
Retrieves the value from the field name and casts it to
JsonObject . |
static JsonObject |
JsonValue.jo()
Static factory method to create an empty
JsonObject . |
JsonObject |
JsonObject.put(String name,
boolean value)
Stores a
Boolean value identified by the field name. |
JsonObject |
JsonObject.put(String name,
double value)
Stores a
Double value identified by the field name. |
JsonObject |
JsonObject.put(String name,
int value)
Stores a
Integer value identified by the field name. |
JsonObject |
JsonObject.put(String name,
JsonArray value)
Stores a
JsonArray value identified by the field name. |
JsonObject |
JsonObject.put(String name,
JsonObject value)
Stores a
JsonObject value identified by the field name. |
JsonObject |
JsonObject.put(String name,
List<?> value)
Stores a
JsonArray value identified by the field name. |
JsonObject |
JsonObject.put(String name,
long value)
Stores a
Long value identified by the field name. |
JsonObject |
JsonObject.put(String name,
Map<String,?> value)
Attempt to convert a
Map to a JsonObject value and store it, identified by the field name. |
JsonObject |
JsonObject.put(String name,
Number value)
Stores a
Number value identified by the field name. |
JsonObject |
JsonObject.put(String name,
Object value)
Stores a
Object value identified by the field name. |
JsonObject |
JsonObject.put(String name,
String value)
Stores a
String value identified by the field name. |
JsonObject |
JsonObject.putNull(String name)
Store a null value identified by the field’s name.
|
JsonObject |
JsonObject.removeKey(String name)
Removes an entry from the
JsonObject . |
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonArray.add(JsonObject value)
Append an
JsonObject element to the JsonArray . |
JsonObject |
JsonObject.put(String name,
JsonObject value)
Stores a
JsonObject value identified by the field name. |
Modifier and Type | Method and Description |
---|---|
JsonObject |
QueryExecutionException.getN1qlError() |
Constructor and Description |
---|
QueryExecutionException(String message,
JsonObject n1qlError) |
QueryExecutionException(String message,
JsonObject n1qlError,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
N1qlMetrics.asJsonObject()
Exposes the underlying raw form of the metrics, as a
JsonObject . |
JsonObject |
PreparedN1qlQuery.n1ql() |
abstract JsonObject |
N1qlQuery.n1ql()
Convert this query to a full N1QL query in Json form.
|
JsonObject |
AbstractN1qlQuery.n1ql() |
JsonObject |
N1qlQueryResult.profileInfo() |
JsonObject |
DefaultN1qlQueryResult.profileInfo() |
JsonObject |
N1qlQueryRow.value() |
JsonObject |
DefaultN1qlQueryRow.value()
Return the
JsonObject representation of the JSON corresponding to this row. |
JsonObject |
DefaultAsyncN1qlQueryRow.value()
Return the
JsonObject representation of the JSON corresponding to this row. |
JsonObject |
AsyncN1qlQueryRow.value() |
Modifier and Type | Method and Description |
---|---|
List<JsonObject> |
N1qlQueryResult.errors() |
List<JsonObject> |
DefaultN1qlQueryResult.errors() |
rx.Observable<JsonObject> |
DefaultAsyncN1qlQueryResult.errors() |
rx.Observable<JsonObject> |
AsyncN1qlQueryResult.errors() |
rx.Observable<JsonObject> |
DefaultAsyncN1qlQueryResult.profileInfo() |
rx.Observable<JsonObject> |
AsyncN1qlQueryResult.profileInfo() |
Modifier and Type | Method and Description |
---|---|
void |
N1qlParams.injectParams(JsonObject queryJson)
Modifies the given N1QL query (as a
JsonObject ) to reflect these N1qlParams . |
static ParameterizedN1qlQuery |
N1qlQuery.parameterized(Statement statement,
JsonObject namedParams)
Create a new query with named parameters.
|
static ParameterizedN1qlQuery |
N1qlQuery.parameterized(Statement statement,
JsonObject namedParams,
N1qlParams params)
Create a new query with named parameters.
|
static ParameterizedN1qlQuery |
N1qlQuery.parameterized(String statement,
JsonObject namedParams)
Create a new query with named parameters.
|
static ParameterizedN1qlQuery |
N1qlQuery.parameterized(String statement,
JsonObject namedParams,
N1qlParams params)
Create a new query with named parameters.
|
static void |
AbstractN1qlQuery.populateParameters(JsonObject query,
JsonValue params)
Populate a
JsonObject representation of a query with parameters, either positional or named. |
Constructor and Description |
---|
DefaultN1qlQueryResult(List<AsyncN1qlQueryRow> rows,
Object signature,
N1qlMetrics info,
List<JsonObject> errors,
JsonObject profileInfo,
String finalStatus,
Boolean finalSuccess,
boolean parseSuccess,
String requestId,
String clientContextId)
Create a default blocking representation of a query result.
|
N1qlMetrics(JsonObject rawMetrics) |
PreparedN1qlQuery(PreparedPayload plan,
JsonObject namedParams,
N1qlParams params) |
Constructor and Description |
---|
DefaultAsyncN1qlQueryResult(rx.Observable<AsyncN1qlQueryRow> rows,
rx.Observable<Object> signature,
rx.Observable<N1qlMetrics> info,
rx.Observable<JsonObject> errors,
rx.Observable<JsonObject> profileInfo,
rx.Observable<String> finalStatus,
boolean parsingSuccess,
String requestId,
String clientContextId) |
DefaultAsyncN1qlQueryResult(rx.Observable<AsyncN1qlQueryRow> rows,
rx.Observable<Object> signature,
rx.Observable<N1qlMetrics> info,
rx.Observable<JsonObject> errors,
rx.Observable<JsonObject> profileInfo,
rx.Observable<String> finalStatus,
boolean parsingSuccess,
String requestId,
String clientContextId) |
DefaultN1qlQueryResult(List<AsyncN1qlQueryRow> rows,
Object signature,
N1qlMetrics info,
List<JsonObject> errors,
JsonObject profileInfo,
String finalStatus,
Boolean finalSuccess,
boolean parseSuccess,
String requestId,
String clientContextId)
Create a default blocking representation of a query result.
|
Modifier and Type | Method and Description |
---|---|
protected PreparedPayload |
N1qlQueryExecutor.extractPreparedPayloadFromResponse(PrepareStatement prepared,
JsonObject response)
Extracts the
PreparedPayload from the server’s response during a PREPARE. |
Modifier and Type | Method and Description |
---|---|
Expression |
Expression.and(JsonObject right)
AND-combines two expressions.
|
Expression |
Expression.between(JsonObject right)
Adds a BETWEEN clause between the current and the given expression.
|
Expression |
Expression.concat(JsonObject right)
Combines two expressions with the concatenation operator (“||”).
|
Expression |
Expression.eq(JsonObject right)
Combines two expressions with the equals operator (“=”).
|
Expression |
Expression.gt(JsonObject right)
Combines two expressions with the greater than operator (“>”).
|
Expression |
Expression.gte(JsonObject right)
Combines two expressions with the greater or equals than operator (“>=”).
|
Expression |
Expression.in(JsonObject right)
Adds a IN clause between the current and the given expression.
|
Expression |
Expression.like(JsonObject right)
Adds a LIKE clause between the current and the given expression.
|
Expression |
Expression.lt(JsonObject right)
Combines two expressions with the less than operator (“<”).
|
Expression |
Expression.lte(JsonObject right)
Combines two expressions with the less or equals than operator (“<=”).
|
Expression |
Expression.ne(JsonObject right)
Combines two expressions with the not equals operator (“!=”).
|
Expression |
Expression.notBetween(JsonObject right)
Adds a NOT BETWEEN clause between the current and the given expression.
|
Expression |
Expression.notIn(JsonObject right)
Adds a NOT IN clause between the current and the given expression.
|
Expression |
Expression.notLike(JsonObject right)
Adds a NOT LIKE clause between the current and the given expression.
|
Expression |
Expression.or(JsonObject right)
OR-combines two expressions.
|
static Expression |
Expression.x(JsonObject value)
Creates an arbitrary expression from the given json object.
|
Constructor and Description |
---|
WithIndexOptionElement(JsonObject options) |
Modifier and Type | Method and Description |
---|---|
static Expression |
JsonFunctions.decodeJson(JsonObject json)
The returned Expression unmarshals the JSON constant into a N1QL value.
|
static Expression |
ObjectFunctions.objectLength(JsonObject value)
Returned expression results in the number of name-value pairs in the object.
|
static Expression |
ObjectFunctions.objectNames(JsonObject value)
Returned expression results in an array containing the attribute names of the object, in N1QL collation order.
|
static Expression |
ObjectFunctions.objectPairs(JsonObject value)
Returned expression results in an array containing the attribute name and value pairs of the object, in N1QL collation order of the names.
|
static Expression |
ObjectFunctions.objectValues(JsonObject value)
Returned expression results in an array containing the attribute values of the object, in N1QL collation order of the corresponding names.
|
Modifier and Type | Method and Description |
---|---|
UpdateSetPath |
UpdateSetPath.set(Expression path,
JsonObject value) |
UpdateSetPath |
UpdateSetOrUnsetPath.set(Expression path,
JsonObject value) |
MergeUpdateSetPath |
MergeUpdateSetPath.set(Expression path,
JsonObject value) |
MergeUpdateSetPath |
MergeUpdateSetOrUnsetPath.set(Expression path,
JsonObject value) |
UpdateSetPath |
DefaultUpdateSetPath.set(Expression path,
JsonObject value) |
UpdateSetPath |
DefaultUpdateSetOrUnsetPath.set(Expression path,
JsonObject value) |
MergeUpdateSetPath |
DefaultMergeUpdateSetPath.set(Expression path,
JsonObject value) |
MergeUpdateSetPath |
DefaultMergeUpdateSetOrUnsetPath.set(Expression path,
JsonObject value) |
UpdateSetPath |
UpdateSetPath.set(Expression path,
JsonObject value,
Expression updateFor) |
UpdateSetPath |
UpdateSetOrUnsetPath.set(Expression path,
JsonObject value,
Expression updateFor) |
MergeUpdateSetPath |
MergeUpdateSetPath.set(Expression path,
JsonObject value,
Expression updateFor) |
MergeUpdateSetPath |
MergeUpdateSetOrUnsetPath.set(Expression path,
JsonObject value,
Expression updateFor) |
UpdateSetPath |
DefaultUpdateSetPath.set(Expression path,
JsonObject value,
Expression updateFor) |
UpdateSetPath |
DefaultUpdateSetOrUnsetPath.set(Expression path,
JsonObject value,
Expression updateFor) |
MergeUpdateSetPath |
DefaultMergeUpdateSetPath.set(Expression path,
JsonObject value,
Expression updateFor) |
MergeUpdateSetPath |
DefaultMergeUpdateSetOrUnsetPath.set(Expression path,
JsonObject value,
Expression updateFor) |
UpdateSetPath |
UpdateSetPath.set(String path,
JsonObject value) |
UpdateSetPath |
UpdateSetOrUnsetPath.set(String path,
JsonObject value) |
MergeUpdateSetPath |
MergeUpdateSetPath.set(String path,
JsonObject value) |
MergeUpdateSetPath |
MergeUpdateSetOrUnsetPath.set(String path,
JsonObject value) |
UpdateSetPath |
DefaultUpdateSetPath.set(String path,
JsonObject value) |
UpdateSetPath |
DefaultUpdateSetOrUnsetPath.set(String path,
JsonObject value) |
MergeUpdateSetPath |
DefaultMergeUpdateSetPath.set(String path,
JsonObject value) |
MergeUpdateSetPath |
DefaultMergeUpdateSetOrUnsetPath.set(String path,
JsonObject value) |
UpdateSetPath |
UpdateSetPath.set(String path,
JsonObject value,
Expression updateFor) |
UpdateSetPath |
UpdateSetOrUnsetPath.set(String path,
JsonObject value,
Expression updateFor) |
MergeUpdateSetPath |
MergeUpdateSetPath.set(String path,
JsonObject value,
Expression updateFor) |
MergeUpdateSetPath |
MergeUpdateSetOrUnsetPath.set(String path,
JsonObject value,
Expression updateFor) |
UpdateSetPath |
DefaultUpdateSetPath.set(String path,
JsonObject value,
Expression updateFor) |
UpdateSetPath |
DefaultUpdateSetOrUnsetPath.set(String path,
JsonObject value,
Expression updateFor) |
MergeUpdateSetPath |
DefaultMergeUpdateSetPath.set(String path,
JsonObject value,
Expression updateFor) |
MergeUpdateSetPath |
DefaultMergeUpdateSetOrUnsetPath.set(String path,
JsonObject value,
Expression updateFor) |
InsertValuesPath |
InsertValuesPath.values(Expression id,
JsonObject value) |
InsertValuesPath |
InitialInsertPath.values(Expression id,
JsonObject value) |
InsertValuesPath |
DefaultInsertValuesPath.values(Expression id,
JsonObject value) |
InsertValuesPath |
DefaultInitialInsertPath.values(Expression id,
JsonObject value) |
InsertValuesPath |
InsertValuesPath.values(String id,
JsonObject value) |
InsertValuesPath |
InitialInsertPath.values(String id,
JsonObject value) |
InsertValuesPath |
DefaultInsertValuesPath.values(String id,
JsonObject value) |
InsertValuesPath |
DefaultInitialInsertPath.values(String id,
JsonObject value) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
IndexInfo.raw() |
Constructor and Description |
---|
IndexInfo(JsonObject raw) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
SearchQuery.export()
Exports the whole query as a
JsonObject . |
Modifier and Type | Method and Description |
---|---|
void |
SearchQuery.injectParams(JsonObject queryJson)
Inject the top level parameters of a query into a prepared
JsonObject that represents the root of the query. |
Modifier and Type | Method and Description |
---|---|
void |
SearchFacet.injectParams(JsonObject queryJson) |
void |
NumericRangeFacet.injectParams(JsonObject queryJson) |
void |
DateRangeFacet.injectParams(JsonObject queryJson) |
Modifier and Type | Method and Description |
---|---|
protected void |
WildcardQuery.injectParams(JsonObject input) |
protected void |
TermRangeQuery.injectParams(JsonObject input) |
protected void |
TermQuery.injectParams(JsonObject input) |
protected void |
RegexpQuery.injectParams(JsonObject input) |
protected void |
QueryStringQuery.injectParams(JsonObject input) |
protected void |
PrefixQuery.injectParams(JsonObject input) |
protected void |
PhraseQuery.injectParams(JsonObject input) |
protected void |
NumericRangeQuery.injectParams(JsonObject input) |
protected void |
MatchQuery.injectParams(JsonObject input) |
protected void |
MatchPhraseQuery.injectParams(JsonObject input) |
protected void |
MatchNoneQuery.injectParams(JsonObject input) |
protected void |
MatchAllQuery.injectParams(JsonObject input) |
protected void |
GeoDistanceQuery.injectParams(JsonObject input) |
protected void |
GeoBoundingBoxQuery.injectParams(JsonObject input) |
protected void |
DocIdQuery.injectParams(JsonObject input) |
protected void |
DisjunctionQuery.injectParams(JsonObject input) |
protected void |
DateRangeQuery.injectParams(JsonObject input) |
protected void |
ConjunctionQuery.injectParams(JsonObject input) |
protected void |
BooleanQuery.injectParams(JsonObject input) |
protected void |
BooleanFieldQuery.injectParams(JsonObject input) |
protected abstract void |
AbstractFtsQuery.injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export() . |
void |
AbstractFtsQuery.injectParamsAndBoost(JsonObject input)
Injects the query’s parameters (including the common boost and query-specific parameters) into a prepared
JsonObject . |
Modifier and Type | Method and Description |
---|---|
JsonObject |
SearchQueryRow.explanation()
If
requested in the query , an explanation of the match, in JSON form. |
Modifier and Type | Method and Description |
---|---|
static HitLocations |
DefaultHitLocations.from(JsonObject locationsJson)
Parses a FTS JSON representation of a
HitLocations . |
Modifier and Type | Method and Description |
---|---|
JsonObject |
DefaultSearchQueryRow.explanation() |
Modifier and Type | Method and Description |
---|---|
static AsyncSearchQueryResult |
DefaultAsyncSearchQueryResult.fromJson(JsonObject json)
Deprecated.
FTS is still in BETA so the response format is likely to change in a future version
|
Constructor and Description |
---|
DefaultSearchQueryRow(String index,
String id,
double score,
JsonObject explanation,
HitLocations locations,
Map<String,List<String>> fragments,
Map<String,String> fields) |
Modifier and Type | Method and Description |
---|---|
void |
SearchSortGeoDistance.injectParams(JsonObject queryJson) |
void |
SearchSortField.injectParams(JsonObject queryJson) |
void |
SearchSort.injectParams(JsonObject queryJson) |
Modifier and Type | Method and Description |
---|---|
MutateInBuilder |
MutateInBuilder.upsert(JsonObject content)
Upsert a full JSON document that doesn’t exist.
|
AsyncMutateInBuilder |
AsyncMutateInBuilder.upsert(JsonObject content)
Upsert a full JSON document.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
JsonTranscoder.byteBufToJsonObject(com.couchbase.client.deps.io.netty.buffer.ByteBuf input)
Converts a
ByteBuf to a JsonObject , without releasing the buffer |
JsonObject |
JsonTranscoder.stringToJsonObject(String input) |
Modifier and Type | Method and Description |
---|---|
com.couchbase.client.deps.io.netty.buffer.ByteBuf |
JsonTranscoder.jsonObjectToByteBuf(JsonObject input) |
String |
JsonTranscoder.jsonObjectToString(JsonObject input) |
JsonDocument |
JsonTranscoder.newDocument(String id,
int expiry,
JsonObject content,
long cas) |
JsonDocument |
JsonTranscoder.newDocument(String id,
int expiry,
JsonObject content,
long cas,
MutationToken mutationToken) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
RawQueryExecutor.ftsToJsonObject(SearchQuery query)
Synchronously perform a
SearchQuery and return the raw N1QL response as a JsonObject . |
JsonObject |
RawQueryExecutor.n1qlToJsonObject(N1qlQuery query)
Synchronously perform a
N1qlQuery and return the raw N1QL response as a JsonObject . |
Modifier and Type | Method and Description |
---|---|
rx.Observable<JsonObject> |
AsyncRawQueryExecutor.ftsToJsonObject(SearchQuery query)
Asynchronously perform a
SearchQuery and return the raw N1QL response as a JsonObject . |
rx.Observable<JsonObject> |
AsyncRawQueryExecutor.n1qlToJsonObject(N1qlQuery query)
Asynchronously perform a
N1qlQuery and return the raw N1QL response as a JsonObject . |
Modifier and Type | Method and Description |
---|---|
JsonObject |
ViewResult.debug()
If debug was enabled on the query, it is contained here.
|
JsonObject |
SpatialViewResult.debug()
If debug was enabled on the query, it is contained here.
|
JsonObject |
DefaultViewResult.debug() |
JsonObject |
DefaultSpatialViewResult.debug() |
JsonObject |
DefaultAsyncViewResult.debug() |
JsonObject |
DefaultAsyncSpatialViewResult.debug() |
JsonObject |
AsyncViewResult.debug()
If debug was enabled on the query, it is contained here.
|
JsonObject |
AsyncSpatialViewResult.debug()
If debug was enabled on the query, it is contained here.
|
JsonObject |
ViewResult.error()
If it was not successful, an error is contained here.
|
JsonObject |
SpatialViewResult.error()
If it was not successful, an error is contained here.
|
JsonObject |
DefaultViewResult.error() |
JsonObject |
DefaultSpatialViewResult.error() |
JsonObject |
ViewResult.error(long timeout,
TimeUnit timeUnit)
If it was not successful, an error is contained here.
|
JsonObject |
SpatialViewResult.error(long timeout,
TimeUnit timeUnit)
If it was not successful, an error is contained here.
|
JsonObject |
DefaultViewResult.error(long timeout,
TimeUnit timeUnit) |
JsonObject |
DefaultSpatialViewResult.error(long timeout,
TimeUnit timeUnit) |
JsonObject |
SpatialViewRow.geometry() |
JsonObject |
DefaultSpatialViewRow.geometry() |
JsonObject |
DefaultAsyncSpatialViewRow.geometry() |
JsonObject |
AsyncSpatialViewRow.geometry()
The geometry of the row, if emitted.
|
JsonObject |
DesignDocument.toJsonObject() |
Modifier and Type | Method and Description |
---|---|
rx.Observable<JsonObject> |
DefaultAsyncViewResult.error() |
rx.Observable<JsonObject> |
DefaultAsyncSpatialViewResult.error() |
rx.Observable<JsonObject> |
AsyncViewResult.error()
If it was not successful, an error is contained here.
|
rx.Observable<JsonObject> |
AsyncSpatialViewResult.error()
If it was not successful, an error is contained here.
|
Modifier and Type | Method and Description |
---|---|
ViewQuery |
ViewQuery.endKey(JsonObject key) |
static DesignDocument |
DesignDocument.from(String name,
JsonObject raw)
Create a design document from a JSON representation of it.
|
ViewQuery |
ViewQuery.key(JsonObject key) |
ViewQuery |
ViewQuery.startKey(JsonObject key) |
Constructor and Description |
---|
DefaultAsyncSpatialViewResult(rx.Observable<AsyncSpatialViewRow> rows,
boolean success,
rx.Observable<JsonObject> error,
JsonObject debug) |
DefaultAsyncSpatialViewRow(AsyncBucket bucket,
String id,
JsonArray key,
Object value,
JsonObject geometry,
Document<?> document) |
DefaultAsyncViewResult(rx.Observable<AsyncViewRow> rows,
int totalRows,
boolean success,
rx.Observable<JsonObject> error,
JsonObject debug) |
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) |
Constructor and Description |
---|
DefaultAsyncSpatialViewResult(rx.Observable<AsyncSpatialViewRow> rows,
boolean success,
rx.Observable<JsonObject> error,
JsonObject debug) |
DefaultAsyncViewResult(rx.Observable<AsyncViewRow> rows,
int totalRows,
boolean success,
rx.Observable<JsonObject> error,
JsonObject debug) |
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) |
Copyright © 2015 Couchbase, Inc.