Uses of Class
com.couchbase.client.java.document.json.JsonObject
-
-
Uses of JsonObject in com.couchbase.client.java
Methods in com.couchbase.client.java that return JsonObject Modifier and Type Method Description JsonObject
MutationState. export()
Exports theMutationState
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 theMutationState
into a format recognized by the FTS search engine.Methods in com.couchbase.client.java with parameters of type JsonObject Modifier and Type Method Description static MutationState
MutationState. from(JsonObject source)
Create aMutationState
from the serialized state. -
Uses of JsonObject in com.couchbase.client.java.analytics
Methods in com.couchbase.client.java.analytics that return JsonObject Modifier and Type Method Description JsonObject
AnalyticsMetrics. asJsonObject()
Exposes the underlying raw form of the metrics, as aJsonObject
.abstract JsonObject
AnalyticsQuery. query()
Returns the full query.JsonObject
ParameterizedAnalyticsQuery. query()
JsonObject
SimpleAnalyticsQuery. query()
JsonObject
AnalyticsQueryRow. value()
JsonObject
AsyncAnalyticsQueryRow. value()
JsonObject
DefaultAnalyticsQueryRow. value()
Return theJsonObject
representation of the JSON corresponding to this row.JsonObject
DefaultAsyncAnalyticsQueryRow. value()
Return theJsonObject
representation of the JSON corresponding to this row.Methods in com.couchbase.client.java.analytics that return types with arguments of type JsonObject Modifier and Type Method Description List<JsonObject>
AnalyticsQueryResult. errors()
rx.Observable<JsonObject>
AsyncAnalyticsQueryResult. errors()
List<JsonObject>
DefaultAnalyticsQueryResult. errors()
rx.Observable<JsonObject>
DefaultAsyncAnalyticsQueryResult. errors()
Methods in com.couchbase.client.java.analytics with parameters of type JsonObject Modifier and Type Method Description void
AnalyticsParams. injectParams(JsonObject queryJson)
Modifies the given Analytics query (as aJsonObject
) to reflect theseN1qlParams
.static ParameterizedAnalyticsQuery
AnalyticsQuery. parameterized(String statement, JsonObject namedParams)
Creates anAnalyticsQuery
with named parameters as part of the query.static ParameterizedAnalyticsQuery
AnalyticsQuery. parameterized(String statement, JsonObject namedParams, AnalyticsParams params)
Creates anAnalyticsQuery
with named parameters as part of the query.Constructors in com.couchbase.client.java.analytics with parameters of type JsonObject Constructor Description AnalyticsMetrics(JsonObject rawMetrics)
Constructor parameters in com.couchbase.client.java.analytics with type arguments of type JsonObject Constructor Description DefaultAnalyticsQueryResult(AsyncAnalyticsDeferredResultHandle asyncHandle, 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. -
Uses of JsonObject in com.couchbase.client.java.bucket
Methods in com.couchbase.client.java.bucket that return JsonObject Modifier and Type Method Description JsonObject
BucketInfo. raw()
Raw JSON server response for advanced analysis.JsonObject
DefaultBucketInfo. raw()
Methods in com.couchbase.client.java.bucket with parameters of type JsonObject Modifier and Type Method Description static DefaultBucketInfo
DefaultBucketInfo. create(JsonObject raw)
-
Uses of JsonObject in com.couchbase.client.java.cluster
Methods in com.couchbase.client.java.cluster that return JsonObject Modifier and Type Method Description JsonObject
BucketSettings. raw()
A raw representation of the bucket settings when acquired from the server.JsonObject
ClusterInfo. raw()
Provides raw access to the full JSON information from the server.JsonObject
DefaultBucketSettings.Builder. raw()
JsonObject
DefaultBucketSettings. raw()
JsonObject
DefaultClusterInfo. raw()
Methods in com.couchbase.client.java.cluster with parameters of type JsonObject Modifier and Type Method Description DefaultBucketSettings
DefaultBucketSettings.Builder. build(JsonObject raw)
Build theBucketSettings
from the data aggregated by this builder, and set itsBucketSettings.raw()
representation as well.Constructors in com.couchbase.client.java.cluster with parameters of type JsonObject Constructor Description DefaultClusterInfo(JsonObject raw)
-
Uses of JsonObject in com.couchbase.client.java.document
Methods in com.couchbase.client.java.document with parameters of type JsonObject Modifier and Type Method Description static JsonDocument
JsonDocument. create(String id, int expiry, JsonObject content)
Creates aJsonDocument
which the document id, JSON content and the expiration time.static JsonDocument
JsonDocument. create(String id, int expiry, JsonObject content, long cas)
Creates aJsonDocument
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 aJsonDocument
which the document id, JSON content, CAS value, expiration time and status code.static JsonDocument
JsonDocument. create(String id, JsonObject content)
Creates aJsonDocument
which the document id and JSON content.static JsonDocument
JsonDocument. create(String id, JsonObject content, long cas)
Creates aJsonDocument
which the document id, JSON content and the CAS value.static JsonDocument
JsonDocument. from(JsonDocument doc, JsonObject content)
Creates a copy from a differentJsonDocument
, but changes the content.static JsonDocument
JsonDocument. from(JsonDocument doc, String id, JsonObject content)
Creates a copy from a differentJsonDocument
, but changes the document ID and content. -
Uses of JsonObject in com.couchbase.client.java.document.json
Methods in com.couchbase.client.java.document.json that return JsonObject Modifier and Type Method Description static JsonObject
JsonObject. create()
Creates a emptyJsonObject
.static JsonObject
JsonObject. empty()
Creates a emptyJsonObject
.static JsonObject
JsonObject. from(Map<String,?> mapData)
Constructs aJsonObject
from aMap<String, ?>
.static JsonObject
JsonObject. fromJson(String s)
Static method to create aJsonObject
from a JSONString
.JsonObject
JsonObject. getAndDecryptObject(String name, String providerName)
Retrieves the decrypted value from the field name and casts it toJsonObject
.JsonObject
JsonArray. getObject(int index)
Retrieves the value by the position in theJsonArray
and casts it toJsonObject
.JsonObject
JsonObject. getObject(String name)
Retrieves the value from the field name and casts it toJsonObject
.static JsonObject
JsonValue. jo()
Static factory method to create an emptyJsonObject
.JsonObject
JsonObject. put(String name, boolean value)
Stores aBoolean
value identified by the field name.JsonObject
JsonObject. put(String name, double value)
Stores aDouble
value identified by the field name.JsonObject
JsonObject. put(String name, int value)
Stores aInteger
value identified by the field name.JsonObject
JsonObject. put(String name, long value)
Stores aLong
value identified by the field name.JsonObject
JsonObject. put(String name, JsonArray value)
Stores aJsonArray
value identified by the field name.JsonObject
JsonObject. put(String name, JsonObject value)
Stores aJsonObject
value identified by the field name.JsonObject
JsonObject. put(String name, Number value)
Stores aNumber
value identified by the field name.JsonObject
JsonObject. put(String name, Object value)
Stores aObject
value identified by the field name.JsonObject
JsonObject. put(String name, String value)
Stores aString
value identified by the field name.JsonObject
JsonObject. put(String name, List<?> value)
Stores aJsonArray
value identified by the field name.JsonObject
JsonObject. put(String name, Map<String,?> value)
Attempt to convert aMap
to aJsonObject
value and store it, identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, boolean value, String providerName)
Stores aBoolean
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, double value, String providerName)
Stores aDouble
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, int value, String providerName)
Stores aInteger
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, long value, String providerName)
Stores aLong
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, JsonArray value, String providerName)
Stores aJsonArray
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, JsonObject value, String providerName)
Stores aJsonObject
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, Number value, String providerName)
Stores aNumber
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, Object value, String providerName)
Stores theObject
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, String value, String providerName)
Stores aString
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, List<?> value, String providerName)
Stores aJsonArray
value as encrypted identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, Map<String,?> value, String providerName)
Attempt to convert aMap
to aJsonObject
value and store it, as encrypted identified by the field name.JsonObject
JsonObject. putNull(String name)
Store a null value identified by the field's name.JsonObject
JsonObject. putNullAndEncrypt(String name, String providerName)
Store a null value as encrypted identified by the field's name.JsonObject
JsonObject. removeKey(String name)
Removes an entry from theJsonObject
.Methods in com.couchbase.client.java.document.json with parameters of type JsonObject Modifier and Type Method Description JsonArray
JsonArray. add(JsonObject value)
Append anJsonObject
element to theJsonArray
.JsonObject
JsonObject. put(String name, JsonObject value)
Stores aJsonObject
value identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, JsonObject value, String providerName)
Stores aJsonObject
value as encrypted identified by the field name. -
Uses of JsonObject in com.couchbase.client.java.error
Methods in com.couchbase.client.java.error that return JsonObject Modifier and Type Method Description JsonObject
QueryExecutionException. getN1qlError()
Constructors in com.couchbase.client.java.error with parameters of type JsonObject Constructor Description QueryExecutionException(String message, JsonObject n1qlError)
QueryExecutionException(String message, JsonObject n1qlError, Throwable cause)
-
Uses of JsonObject in com.couchbase.client.java.query
Methods in com.couchbase.client.java.query that return JsonObject Modifier and Type Method Description JsonObject
N1qlMetrics. asJsonObject()
Exposes the underlying raw form of the metrics, as aJsonObject
.JsonObject
AbstractN1qlQuery. n1ql()
abstract JsonObject
N1qlQuery. n1ql()
Convert this query to a full N1QL query in Json form.JsonObject
PreparedN1qlQuery. n1ql()
JsonObject
DefaultN1qlQueryResult. profileInfo()
JsonObject
N1qlQueryResult. profileInfo()
JsonObject
AsyncN1qlQueryRow. value()
JsonObject
DefaultAsyncN1qlQueryRow. value()
Return theJsonObject
representation of the JSON corresponding to this row.JsonObject
DefaultN1qlQueryRow. value()
Return theJsonObject
representation of the JSON corresponding to this row.JsonObject
N1qlQueryRow. value()
Methods in com.couchbase.client.java.query that return types with arguments of type JsonObject Modifier and Type Method Description rx.Observable<JsonObject>
AsyncN1qlQueryResult. errors()
rx.Observable<JsonObject>
DefaultAsyncN1qlQueryResult. errors()
List<JsonObject>
DefaultN1qlQueryResult. errors()
List<JsonObject>
N1qlQueryResult. errors()
rx.Observable<JsonObject>
AsyncN1qlQueryResult. profileInfo()
rx.Observable<JsonObject>
DefaultAsyncN1qlQueryResult. profileInfo()
Methods in com.couchbase.client.java.query with parameters of type JsonObject Modifier and Type Method Description void
N1qlParams. injectParams(JsonObject queryJson)
Modifies the given N1QL query (as aJsonObject
) to reflect theseN1qlParams
.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 aJsonObject
representation of a query with parameters, either positional or named.Constructors in com.couchbase.client.java.query with parameters of type JsonObject Constructor 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)
-
Uses of JsonObject in com.couchbase.client.java.query.core
Methods in com.couchbase.client.java.query.core with parameters of type JsonObject Modifier and Type Method Description protected PreparedPayload
N1qlQueryExecutor. extractPreparedPayloadFromResponse(PrepareStatement prepared, JsonObject response)
Extracts thePreparedPayload
from the server's response during a PREPARE. -
Uses of JsonObject in com.couchbase.client.java.query.dsl
Methods in com.couchbase.client.java.query.dsl with parameters of type JsonObject Modifier and Type Method 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. -
Uses of JsonObject in com.couchbase.client.java.query.dsl.element
Constructors in com.couchbase.client.java.query.dsl.element with parameters of type JsonObject Constructor Description WithIndexOptionElement(JsonObject options)
-
Uses of JsonObject in com.couchbase.client.java.query.dsl.functions
Methods in com.couchbase.client.java.query.dsl.functions with parameters of type JsonObject Modifier and Type Method 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. -
Uses of JsonObject in com.couchbase.client.java.query.dsl.path
Methods in com.couchbase.client.java.query.dsl.path with parameters of type JsonObject Modifier and Type Method Description MergeUpdateSetPath
DefaultMergeUpdateSetOrUnsetPath. set(Expression path, JsonObject value)
MergeUpdateSetPath
DefaultMergeUpdateSetOrUnsetPath. set(Expression path, JsonObject value, Expression updateFor)
MergeUpdateSetPath
DefaultMergeUpdateSetOrUnsetPath. set(String path, JsonObject value)
MergeUpdateSetPath
DefaultMergeUpdateSetOrUnsetPath. set(String path, JsonObject value, Expression updateFor)
MergeUpdateSetPath
DefaultMergeUpdateSetPath. set(Expression path, JsonObject value)
MergeUpdateSetPath
DefaultMergeUpdateSetPath. set(Expression path, JsonObject value, Expression updateFor)
MergeUpdateSetPath
DefaultMergeUpdateSetPath. set(String path, JsonObject value)
MergeUpdateSetPath
DefaultMergeUpdateSetPath. set(String path, JsonObject value, Expression updateFor)
UpdateSetPath
DefaultUpdateSetOrUnsetPath. set(Expression path, JsonObject value)
UpdateSetPath
DefaultUpdateSetOrUnsetPath. set(Expression path, JsonObject value, Expression updateFor)
UpdateSetPath
DefaultUpdateSetOrUnsetPath. set(String path, JsonObject value)
UpdateSetPath
DefaultUpdateSetOrUnsetPath. set(String path, JsonObject value, Expression updateFor)
UpdateSetPath
DefaultUpdateSetPath. set(Expression path, JsonObject value)
UpdateSetPath
DefaultUpdateSetPath. set(Expression path, JsonObject value, Expression updateFor)
UpdateSetPath
DefaultUpdateSetPath. set(String path, JsonObject value)
UpdateSetPath
DefaultUpdateSetPath. set(String path, JsonObject value, Expression updateFor)
MergeUpdateSetPath
MergeUpdateSetOrUnsetPath. set(Expression path, JsonObject value)
MergeUpdateSetPath
MergeUpdateSetOrUnsetPath. set(Expression path, JsonObject value, Expression updateFor)
MergeUpdateSetPath
MergeUpdateSetOrUnsetPath. set(String path, JsonObject value)
MergeUpdateSetPath
MergeUpdateSetOrUnsetPath. set(String path, JsonObject value, Expression updateFor)
MergeUpdateSetPath
MergeUpdateSetPath. set(Expression path, JsonObject value)
MergeUpdateSetPath
MergeUpdateSetPath. set(Expression path, JsonObject value, Expression updateFor)
MergeUpdateSetPath
MergeUpdateSetPath. set(String path, JsonObject value)
MergeUpdateSetPath
MergeUpdateSetPath. set(String path, JsonObject value, Expression updateFor)
UpdateSetPath
UpdateSetOrUnsetPath. set(Expression path, JsonObject value)
UpdateSetPath
UpdateSetOrUnsetPath. set(Expression path, JsonObject value, Expression updateFor)
UpdateSetPath
UpdateSetOrUnsetPath. set(String path, JsonObject value)
UpdateSetPath
UpdateSetOrUnsetPath. set(String path, JsonObject value, Expression updateFor)
UpdateSetPath
UpdateSetPath. set(Expression path, JsonObject value)
UpdateSetPath
UpdateSetPath. set(Expression path, JsonObject value, Expression updateFor)
UpdateSetPath
UpdateSetPath. set(String path, JsonObject value)
UpdateSetPath
UpdateSetPath. set(String path, JsonObject value, Expression updateFor)
InsertValuesPath
DefaultInitialInsertPath. values(Expression id, JsonObject value)
InsertValuesPath
DefaultInitialInsertPath. values(String id, JsonObject value)
InsertValuesPath
DefaultInsertValuesPath. values(Expression id, JsonObject value)
InsertValuesPath
DefaultInsertValuesPath. values(String id, JsonObject value)
InsertValuesPath
InitialInsertPath. values(Expression id, JsonObject value)
InsertValuesPath
InitialInsertPath. values(String id, JsonObject value)
InsertValuesPath
InsertValuesPath. values(Expression id, JsonObject value)
InsertValuesPath
InsertValuesPath. values(String id, JsonObject value)
-
Uses of JsonObject in com.couchbase.client.java.query.util
Methods in com.couchbase.client.java.query.util that return JsonObject Modifier and Type Method Description JsonObject
IndexInfo. raw()
Constructors in com.couchbase.client.java.query.util with parameters of type JsonObject Constructor Description IndexInfo(JsonObject raw)
-
Uses of JsonObject in com.couchbase.client.java.search
Methods in com.couchbase.client.java.search that return JsonObject Modifier and Type Method Description JsonObject
SearchQuery. export()
Exports the whole query as aJsonObject
.Methods in com.couchbase.client.java.search with parameters of type JsonObject Modifier and Type Method Description void
SearchQuery. injectParams(JsonObject queryJson)
Inject the top level parameters of a query into a preparedJsonObject
that represents the root of the query. -
Uses of JsonObject in com.couchbase.client.java.search.facet
Methods in com.couchbase.client.java.search.facet with parameters of type JsonObject Modifier and Type Method Description void
DateRangeFacet. injectParams(JsonObject queryJson)
void
NumericRangeFacet. injectParams(JsonObject queryJson)
void
SearchFacet. injectParams(JsonObject queryJson)
-
Uses of JsonObject in com.couchbase.client.java.search.queries
Methods in com.couchbase.client.java.search.queries with parameters of type JsonObject Modifier and Type Method Description protected abstract void
AbstractFtsQuery. injectParams(JsonObject input)
Override to inject query-specific parameters when doing theSearchQuery.export()
.protected void
BooleanFieldQuery. injectParams(JsonObject input)
protected void
BooleanQuery. injectParams(JsonObject input)
protected void
ConjunctionQuery. injectParams(JsonObject input)
protected void
DateRangeQuery. injectParams(JsonObject input)
protected void
DisjunctionQuery. injectParams(JsonObject input)
protected void
DocIdQuery. injectParams(JsonObject input)
protected void
GeoBoundingBoxQuery. injectParams(JsonObject input)
protected void
GeoDistanceQuery. injectParams(JsonObject input)
protected void
MatchAllQuery. injectParams(JsonObject input)
protected void
MatchNoneQuery. injectParams(JsonObject input)
protected void
MatchPhraseQuery. injectParams(JsonObject input)
protected void
MatchQuery. injectParams(JsonObject input)
protected void
NumericRangeQuery. injectParams(JsonObject input)
protected void
PhraseQuery. injectParams(JsonObject input)
protected void
PrefixQuery. injectParams(JsonObject input)
protected void
QueryStringQuery. injectParams(JsonObject input)
protected void
RegexpQuery. injectParams(JsonObject input)
protected void
TermQuery. injectParams(JsonObject input)
protected void
TermRangeQuery. injectParams(JsonObject input)
protected void
WildcardQuery. injectParams(JsonObject input)
void
AbstractFtsQuery. injectParamsAndBoost(JsonObject input)
Injects the query's parameters (including the common boost and query-specific parameters) into a preparedJsonObject
. -
Uses of JsonObject in com.couchbase.client.java.search.result
Methods in com.couchbase.client.java.search.result that return JsonObject Modifier and Type Method Description JsonObject
SearchQueryRow. explanation()
Ifrequested in the query
, an explanation of the match, in JSON form. -
Uses of JsonObject in com.couchbase.client.java.search.result.hits
Methods in com.couchbase.client.java.search.result.hits with parameters of type JsonObject Modifier and Type Method Description static HitLocations
DefaultHitLocations. from(JsonObject locationsJson)
Parses a FTS JSON representation of aHitLocations
. -
Uses of JsonObject in com.couchbase.client.java.search.result.impl
Methods in com.couchbase.client.java.search.result.impl that return JsonObject Modifier and Type Method Description JsonObject
DefaultSearchQueryRow. explanation()
Methods in com.couchbase.client.java.search.result.impl with parameters of type JsonObject Modifier and Type Method Description static AsyncSearchQueryResult
DefaultAsyncSearchQueryResult. fromJson(JsonObject json)
Deprecated.FTS is still in BETA so the response format is likely to change in a future versionConstructors in com.couchbase.client.java.search.result.impl with parameters of type JsonObject Constructor Description DefaultSearchQueryRow(String index, String id, double score, JsonObject explanation, HitLocations locations, Map<String,List<String>> fragments, Map<String,String> fields)
-
Uses of JsonObject in com.couchbase.client.java.search.sort
Methods in com.couchbase.client.java.search.sort with parameters of type JsonObject Modifier and Type Method Description void
SearchSort. injectParams(JsonObject queryJson)
void
SearchSortField. injectParams(JsonObject queryJson)
void
SearchSortGeoDistance. injectParams(JsonObject queryJson)
-
Uses of JsonObject in com.couchbase.client.java.subdoc
Methods in com.couchbase.client.java.subdoc with parameters of type JsonObject Modifier and Type Method Description AsyncMutateInBuilder
AsyncMutateInBuilder. upsert(JsonObject content)
Upsert a full JSON document.MutateInBuilder
MutateInBuilder. upsert(JsonObject content)
Upsert a full JSON document that doesn't exist. -
Uses of JsonObject in com.couchbase.client.java.transcoder
Methods in com.couchbase.client.java.transcoder that return JsonObject Modifier and Type Method Description JsonObject
JsonTranscoder. byteBufToJsonObject(com.couchbase.client.deps.io.netty.buffer.ByteBuf input)
Converts aByteBuf
to aJsonObject
, without releasing the bufferJsonObject
JsonTranscoder. stringToJsonObject(String input)
Methods in com.couchbase.client.java.transcoder with parameters of type JsonObject Modifier and Type Method 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)
-
Uses of JsonObject in com.couchbase.client.java.transcoder.crypto
Methods in com.couchbase.client.java.transcoder.crypto that return JsonObject Modifier and Type Method Description JsonObject
JsonCryptoTranscoder. byteBufToJsonObject(com.couchbase.client.deps.io.netty.buffer.ByteBuf input)
Converts aByteBuf
to aJsonObject
, without releasing the bufferJsonObject
JsonCryptoTranscoder. stringToJsonObject(String input)
Methods in com.couchbase.client.java.transcoder.crypto with parameters of type JsonObject Modifier and Type Method Description String
JsonCryptoTranscoder. jsonObjectToString(JsonObject input)
JsonDocument
JsonCryptoTranscoder. newDocument(String id, int expiry, JsonObject content, long cas)
JsonDocument
JsonCryptoTranscoder. newDocument(String id, int expiry, JsonObject content, long cas, MutationToken mutationToken)
-
Uses of JsonObject in com.couchbase.client.java.util
Method parameters in com.couchbase.client.java.util with type arguments of type JsonObject Modifier and Type Method Description AnalyticsIngester.IngestOptions
AnalyticsIngester.IngestOptions. dataConverter(rx.functions.Func1<JsonObject,JsonObject> dataConverter)
Allows to specify a custom converter which modifies each document from the query before it is stored back in the kv service.AnalyticsIngester.IngestOptions
AnalyticsIngester.IngestOptions. dataConverter(rx.functions.Func1<JsonObject,JsonObject> dataConverter)
Allows to specify a custom converter which modifies each document from the query before it is stored back in the kv service.AnalyticsIngester.IngestOptions
AnalyticsIngester.IngestOptions. idGenerator(rx.functions.Func1<JsonObject,String> idGenerator)
Allows to specify a custom ID generator instead of the default UUID one. -
Uses of JsonObject in com.couchbase.client.java.util.rawQuerying
Methods in com.couchbase.client.java.util.rawQuerying that return JsonObject Modifier and Type Method Description JsonObject
RawQueryExecutor. ftsToJsonObject(SearchQuery query)
Synchronously perform aSearchQuery
and return the raw N1QL response as aJsonObject
.JsonObject
RawQueryExecutor. n1qlToJsonObject(N1qlQuery query)
Synchronously perform aN1qlQuery
and return the raw N1QL response as aJsonObject
.Methods in com.couchbase.client.java.util.rawQuerying that return types with arguments of type JsonObject Modifier and Type Method Description rx.Observable<JsonObject>
AsyncRawQueryExecutor. ftsToJsonObject(SearchQuery query)
Asynchronously perform aSearchQuery
and return the raw N1QL response as aJsonObject
.rx.Observable<JsonObject>
AsyncRawQueryExecutor. n1qlToJsonObject(N1qlQuery query)
Asynchronously perform aN1qlQuery
and return the raw N1QL response as aJsonObject
. -
Uses of JsonObject in com.couchbase.client.java.view
Methods in com.couchbase.client.java.view that return JsonObject Modifier and Type Method Description JsonObject
AsyncSpatialViewResult. debug()
If debug was enabled on the query, it is contained here.JsonObject
AsyncViewResult. debug()
If debug was enabled on the query, it is contained here.JsonObject
DefaultAsyncSpatialViewResult. debug()
JsonObject
DefaultAsyncViewResult. debug()
JsonObject
DefaultSpatialViewResult. debug()
JsonObject
DefaultViewResult. debug()
JsonObject
SpatialViewResult. debug()
If debug was enabled on the query, it is contained here.JsonObject
ViewResult. debug()
If debug was enabled on the query, it is contained here.JsonObject
DefaultSpatialViewResult. error()
JsonObject
DefaultSpatialViewResult. error(long timeout, TimeUnit timeUnit)
JsonObject
DefaultViewResult. error()
JsonObject
DefaultViewResult. error(long timeout, TimeUnit timeUnit)
JsonObject
SpatialViewResult. error()
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
ViewResult. error()
If it was not successful, an error is contained here.JsonObject
ViewResult. error(long timeout, TimeUnit timeUnit)
If it was not successful, an error is contained here.JsonObject
AsyncSpatialViewRow. geometry()
The geometry of the row, if emitted.JsonObject
DefaultAsyncSpatialViewRow. geometry()
JsonObject
DefaultSpatialViewRow. geometry()
JsonObject
SpatialViewRow. geometry()
JsonObject
DesignDocument. toJsonObject()
Methods in com.couchbase.client.java.view that return types with arguments of type JsonObject Modifier and Type Method Description rx.Observable<JsonObject>
AsyncSpatialViewResult. error()
If it was not successful, an error is contained here.rx.Observable<JsonObject>
AsyncViewResult. error()
If it was not successful, an error is contained here.rx.Observable<JsonObject>
DefaultAsyncSpatialViewResult. error()
rx.Observable<JsonObject>
DefaultAsyncViewResult. error()
Methods in com.couchbase.client.java.view with parameters of type JsonObject Modifier and Type Method 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)
Constructors in com.couchbase.client.java.view with parameters of type JsonObject Constructor 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)
-