Uses of Class
com.couchbase.client.java.json.JsonObject
-
Packages that use JsonObject Package Description com.couchbase.client.java.analytics Namespace for various analytics-service related classes.com.couchbase.client.java.json JSON encoding and decoding.com.couchbase.client.java.kv Namespace for various kv-service related classes.com.couchbase.client.java.manager.analytics com.couchbase.client.java.manager.query APIs related to N1QL query index management.com.couchbase.client.java.manager.search com.couchbase.client.java.query Namespace for various query-service related classes.com.couchbase.client.java.search Namespace for various search-service related classes.com.couchbase.client.java.search.result Holds search result classes and interfaces.com.couchbase.client.java.transactions com.couchbase.client.java.view Namespace for various view-service related classes. -
-
Uses of JsonObject in com.couchbase.client.java.analytics
Methods in com.couchbase.client.java.analytics that return types with arguments of type JsonObject Modifier and Type Method Description Optional<JsonObject>
AnalyticsMetaData. plans()
Returns plan information if present.List<JsonObject>
AnalyticsResult. rowsAsObject()
Returns all rows, converted intoJsonObject
s.Flux<JsonObject>
ReactiveAnalyticsResult. rowsAsObject()
Get aFlux
which publishes the rows that were fetched by the query which are then decoded toJsonObject
Optional<JsonObject>
AnalyticsMetaData. signature()
Get the signature as the target type, if present.Methods in com.couchbase.client.java.analytics with parameters of type JsonObject Modifier and Type Method Description void
AnalyticsOptions.Built. injectParams(JsonObject input)
AnalyticsOptions
AnalyticsOptions. parameters(JsonObject named)
Sets named parameters for this query. -
Uses of JsonObject in com.couchbase.client.java.json
Methods in com.couchbase.client.java.json that return JsonObject Modifier and Type Method Description static JsonObject
JacksonTransformers. bytesToJsonObject(byte[] input)
static JsonObject
JsonObject. create()
Creates a emptyJsonObject
.static JsonObject
JsonObject. create(int initialCapacity)
Creates a emptyJsonObject
.static JsonObject
JsonObject. from(Map<String,?> mapData)
Constructs aJsonObject
from aMap<String, ?>
.static JsonObject
JsonObject. fromJson(byte[] s)
static JsonObject
JsonObject. fromJson(String s)
Static method to create aJsonObject
from a JSONString
.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
.JsonObject
JsonObjectCrypto. getObject(String fieldName)
static JsonObject
JsonValue. jo()
Static factory method to create an emptyJsonObject
.JsonObject
JsonObjectCrypto. object()
Returns the JsonObject bound to this crypto view.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. putNull(String name)
Store a null value identified by the field's name.JsonObject
JsonObject. removeKey(String name)
Removes an entry from theJsonObject
.static JsonObject
JacksonTransformers. stringToJsonObject(String input)
Methods in com.couchbase.client.java.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.JsonObjectCrypto
JsonObjectCrypto. withObject(JsonObject object)
Returns a new instance that is a view of the given JsonObject.Constructors in com.couchbase.client.java.json with parameters of type JsonObject Constructor Description JsonObjectCrypto(JsonObject jsonObject, CryptoManager cryptoManager, String encrypterAlias)
-
Uses of JsonObject in com.couchbase.client.java.kv
Methods in com.couchbase.client.java.kv that return JsonObject Modifier and Type Method Description JsonObject
GetResult. contentAsObject()
Decodes the content of the document into aJsonObject
.JsonObject
LookupInResult. contentAsObject(int index)
Decodes the encoded content at the given index into aJsonObject
.JsonObject
ScanResult. contentAsObject()
Decodes the content of the document into aJsonObject
.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. exportForSearch()
Exports theMutationState
into a format recognized by the FTS search engine.Methods in com.couchbase.client.java.kv 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.manager.analytics
Methods in com.couchbase.client.java.manager.analytics that return JsonObject Modifier and Type Method Description JsonObject
AnalyticsDataset. json()
Returns the "raw" JSON returned from the analytics service.JsonObject
AnalyticsDataverse. json()
Returns the "raw" JSON returned from the analytics service.JsonObject
AnalyticsIndex. raw()
Returns the "raw" JSON returned from the analytics service.Constructors in com.couchbase.client.java.manager.analytics with parameters of type JsonObject Constructor Description AnalyticsDataset(JsonObject json)
Creates a new dataset from a raw JSON object.AnalyticsDataverse(JsonObject json)
Creates a new dataverse from a raw JSON object.AnalyticsIndex(JsonObject raw)
Creates a new dataset from a raw JSON object. -
Uses of JsonObject in com.couchbase.client.java.manager.query
Methods in com.couchbase.client.java.manager.query that return JsonObject Modifier and Type Method Description JsonObject
QueryIndex. raw()
Returns the JSON as it arrived from the server. -
Uses of JsonObject in com.couchbase.client.java.manager.search
Methods in com.couchbase.client.java.manager.search that return types with arguments of type JsonObject Modifier and Type Method Description CompletableFuture<List<JsonObject>>
AsyncScopeSearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.CompletableFuture<List<JsonObject>>
AsyncScopeSearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index.CompletableFuture<List<JsonObject>>
AsyncSearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.CompletableFuture<List<JsonObject>>
AsyncSearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index.Flux<JsonObject>
ReactiveSearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.Flux<JsonObject>
ReactiveSearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index.List<JsonObject>
ScopeSearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.List<JsonObject>
ScopeSearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index.List<JsonObject>
SearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.List<JsonObject>
SearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index.Methods in com.couchbase.client.java.manager.search with parameters of type JsonObject Modifier and Type Method Description CompletableFuture<List<JsonObject>>
AsyncScopeSearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.CompletableFuture<List<JsonObject>>
AsyncScopeSearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index.CompletableFuture<List<JsonObject>>
AsyncSearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.CompletableFuture<List<JsonObject>>
AsyncSearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index.Flux<JsonObject>
ReactiveSearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.Flux<JsonObject>
ReactiveSearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index.List<JsonObject>
ScopeSearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.List<JsonObject>
ScopeSearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index.List<JsonObject>
SearchIndexManager. analyzeDocument(String name, JsonObject document)
Allows to see how a document is analyzed against a specific index.List<JsonObject>
SearchIndexManager. analyzeDocument(String name, JsonObject document, AnalyzeDocumentOptions options)
Allows to see how a document is analyzed against a specific index. -
Uses of JsonObject in com.couchbase.client.java.query
Methods in com.couchbase.client.java.query that return types with arguments of type JsonObject Modifier and Type Method Description Optional<JsonObject>
QueryMetaData. profile()
Returns the profiling information returned by the query engine which is then decoded toJsonObject
List<JsonObject>
QueryResult. rowsAsObject()
Returns all rows, converted intoJsonObject
s.Flux<JsonObject>
ReactiveQueryResult. rowsAsObject()
Get aFlux
which publishes the rows that were fetched by the query which are then decoded toJsonObject
Optional<JsonObject>
QueryMetaData. signature()
Returns the signature as returned by the query engine which is then decoded toJsonObject
Methods in com.couchbase.client.java.query with parameters of type JsonObject Modifier and Type Method Description void
QueryOptions.Built. injectParams(JsonObject queryJson)
QueryOptions
QueryOptions. parameters(JsonObject named)
Sets named parameters for this query. -
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
. -
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
SearchRow. explanation()
IfSearchOptions.explain(boolean)
was set to true, returns an explanation of the match. -
Uses of JsonObject in com.couchbase.client.java.transactions
Methods in com.couchbase.client.java.transactions that return JsonObject Modifier and Type Method Description JsonObject
TransactionGetResult. contentAsObject()
Decodes the content of the document into aJsonObject
using the default decoder.Methods in com.couchbase.client.java.transactions that return types with arguments of type JsonObject Modifier and Type Method Description List<JsonObject>
TransactionQueryResult. rowsAsObject()
Returns all rows, converted intoJsonObject
s.Methods in com.couchbase.client.java.transactions with parameters of type JsonObject Modifier and Type Method Description TransactionQueryOptions
TransactionQueryOptions. parameters(JsonObject named)
Sets named parameters for this query. -
Uses of JsonObject in com.couchbase.client.java.view
Methods in com.couchbase.client.java.view that return types with arguments of type JsonObject Modifier and Type Method Description Optional<JsonObject>
ViewMetaData. debug()
If present, returns debug information of the view request.Methods in com.couchbase.client.java.view with parameters of type JsonObject Modifier and Type Method Description ViewOptions
ViewOptions. endKey(JsonObject key)
ViewOptions
ViewOptions. key(JsonObject key)
ViewOptions
ViewOptions. startKey(JsonObject key)
-