Uses of Class
com.couchbase.client.java.json.JsonObject
Package
Description
Namespace for various analytics-service related classes.
JSON encoding and decoding.
Namespace for various kv-service related classes.
APIs related to N1QL query index management.
Namespace for various query-service related classes.
Namespace for various search-service related classes.
Holds search result classes and interfaces.
Namespace for various view-service related classes.
-
Uses of JsonObject in com.couchbase.client.java.analytics
Modifier and TypeMethodDescriptionAnalyticsMetaData.plans()
Returns plan information if present.AnalyticsResult.rowsAsObject()
Returns all rows, converted intoJsonObject
s.ReactiveAnalyticsResult.rowsAsObject()
Get aFlux
which publishes the rows that were fetched by the query which are then decoded toJsonObject
AnalyticsMetaData.signature()
Get the signature as the target type, if present.Modifier and TypeMethodDescriptionvoid
AnalyticsOptions.Built.injectParams
(JsonObject input) AnalyticsOptions.parameters
(JsonObject named) Sets named parameters for this query. -
Uses of JsonObject in com.couchbase.client.java.json
Modifier and TypeMethodDescriptionstatic JsonObject
JacksonTransformers.bytesToJsonObject
(byte[] input) static JsonObject
JsonObject.create()
Creates a emptyJsonObject
.static JsonObject
JsonObject.create
(int initialCapacity) Creates a emptyJsonObject
.static JsonObject
Constructs aJsonObject
from aMap<String, ?>
.static JsonObject
JsonObject.fromJson
(byte[] s) static JsonObject
Static method to create aJsonObject
from a JSONString
.JsonArray.getObject
(int index) Retrieves the value by the position in theJsonArray
and casts it toJsonObject
.Retrieves the value from the field name and casts it toJsonObject
.static JsonObject
JsonValue.jo()
Static factory method to create an emptyJsonObject
.JsonObjectCrypto.object()
Returns the JsonObject bound to this crypto view.Stores aBoolean
value identified by the field name.Stores aDouble
value identified by the field name.Stores aInteger
value identified by the field name.Stores aLong
value identified by the field name.Stores aJsonArray
value identified by the field name.JsonObject.put
(String name, JsonObject value) Stores aJsonObject
value identified by the field name.Stores aNumber
value identified by the field name.Stores aObject
value identified by the field name.Stores aString
value identified by the field name.Stores aJsonArray
value identified by the field name.Attempt to convert aMap
to aJsonObject
value and store it, identified by the field name.Store a null value identified by the field's name.Removes an entry from theJsonObject
.static JsonObject
JacksonTransformers.stringToJsonObject
(String input) Modifier and TypeMethodDescriptionJsonArray.add
(JsonObject value) Append anJsonObject
element to theJsonArray
.JsonObject.put
(String name, JsonObject value) Stores aJsonObject
value identified by the field name.JsonObjectCrypto.withObject
(JsonObject object) Returns a new instance that is a view of the given JsonObject.ModifierConstructorDescriptionprotected
JsonObjectCrypto
(JsonObject jsonObject, CryptoManager cryptoManager, String encrypterAlias) -
Uses of JsonObject in com.couchbase.client.java.kv
Modifier and TypeMethodDescriptionGetResult.contentAsObject()
Decodes the content of the document into aJsonObject
.LookupInResult.contentAsObject
(int index) Decodes the encoded content at the given index into aJsonObject
.ScanResult.contentAsObject()
Decodes the content of the document into aJsonObject
.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.MutationState.exportForSearch()
Exports theMutationState
into a format recognized by the FTS search engine.Modifier and TypeMethodDescriptionstatic MutationState
MutationState.from
(JsonObject source) Create aMutationState
from the serialized state. -
Uses of JsonObject in com.couchbase.client.java.manager.analytics
Modifier and TypeMethodDescriptionAnalyticsDataset.json()
Returns the "raw" JSON returned from the analytics service.AnalyticsDataverse.json()
Returns the "raw" JSON returned from the analytics service.AnalyticsIndex.raw()
Returns the "raw" JSON returned from the analytics service.ModifierConstructorDescriptionAnalyticsDataset
(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
Modifier and TypeMethodDescriptionQueryIndex.raw()
Returns the JSON as it arrived from the server. -
Uses of JsonObject in com.couchbase.client.java.manager.search
Modifier and TypeMethodDescriptionAsyncScopeSearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.AsyncScopeSearchIndexManager.analyzeDocument
(String name, JsonObject document, AnalyzeDocumentOptions options) Allows to see how a document is analyzed against a specific index.AsyncSearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.AsyncSearchIndexManager.analyzeDocument
(String name, JsonObject document, AnalyzeDocumentOptions options) Allows to see how a document is analyzed against a specific index.ReactiveSearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.ReactiveSearchIndexManager.analyzeDocument
(String name, JsonObject document, AnalyzeDocumentOptions options) Allows to see how a document is analyzed against a specific index.ScopeSearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.ScopeSearchIndexManager.analyzeDocument
(String name, JsonObject document, AnalyzeDocumentOptions options) Allows to see how a document is analyzed against a specific index.SearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.SearchIndexManager.analyzeDocument
(String name, JsonObject document, AnalyzeDocumentOptions options) Allows to see how a document is analyzed against a specific index.Modifier and TypeMethodDescriptionAsyncScopeSearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.AsyncScopeSearchIndexManager.analyzeDocument
(String name, JsonObject document, AnalyzeDocumentOptions options) Allows to see how a document is analyzed against a specific index.AsyncSearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.AsyncSearchIndexManager.analyzeDocument
(String name, JsonObject document, AnalyzeDocumentOptions options) Allows to see how a document is analyzed against a specific index.ReactiveSearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.ReactiveSearchIndexManager.analyzeDocument
(String name, JsonObject document, AnalyzeDocumentOptions options) Allows to see how a document is analyzed against a specific index.ScopeSearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.ScopeSearchIndexManager.analyzeDocument
(String name, JsonObject document, AnalyzeDocumentOptions options) Allows to see how a document is analyzed against a specific index.SearchIndexManager.analyzeDocument
(String name, JsonObject document) Allows to see how a document is analyzed against a specific index.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
Modifier and TypeMethodDescriptionQueryMetaData.profile()
Returns the profiling information returned by the query engine which is then decoded toJsonObject
QueryResult.rowsAsObject()
Returns all rows, converted intoJsonObject
s.ReactiveQueryResult.rowsAsObject()
Get aFlux
which publishes the rows that were fetched by the query which are then decoded toJsonObject
QueryMetaData.signature()
Returns the signature returned by the query engine, parsed as aJsonObject
, or an empty optional if no signature is available.Modifier and TypeMethodDescriptionvoid
QueryOptions.Built.injectParams
(JsonObject queryJson) QueryOptions.parameters
(JsonObject named) Sets named parameters for this query. -
Uses of JsonObject in com.couchbase.client.java.search
-
Uses of JsonObject in com.couchbase.client.java.search.result
Modifier and TypeMethodDescriptionSearchRow.explanation()
IfSearchOptions.explain(boolean)
was set to true, returns an explanation of the match. -
Uses of JsonObject in com.couchbase.client.java.transactions
Modifier and TypeMethodDescriptionTransactionGetResult.contentAsObject()
Decodes the content of the document into aJsonObject
using the default decoder.Modifier and TypeMethodDescriptionTransactionQueryResult.rowsAsObject()
Returns all rows, converted intoJsonObject
s.Modifier and TypeMethodDescriptionTransactionQueryOptions.parameters
(JsonObject named) Sets named parameters for this query. -
Uses of JsonObject in com.couchbase.client.java.view
Modifier and TypeMethodDescriptionViewMetaData.debug()
If present, returns debug information of the view request.Modifier and TypeMethodDescriptionViewOptions.endKey
(JsonObject key) ViewOptions.key
(JsonObject key) ViewOptions.startKey
(JsonObject key)