Uses of Class
com.couchbase.client.java.json.JsonObject
Packages that use 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
Methods in com.couchbase.client.java.analytics that return types with arguments of type JsonObjectModifier 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.Methods in com.couchbase.client.java.analytics with parameters of type JsonObjectModifier 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
Methods in com.couchbase.client.java.json that return JsonObjectModifier 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) Methods in com.couchbase.client.java.json with parameters of type JsonObjectModifier 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.Constructors in com.couchbase.client.java.json with parameters of type JsonObjectModifierConstructorDescriptionprotected
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 JsonObjectModifier 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.Methods in com.couchbase.client.java.kv with parameters of type JsonObjectModifier and TypeMethodDescriptionstatic 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 JsonObjectModifier 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.Constructors in com.couchbase.client.java.manager.analytics with parameters of type JsonObjectModifierConstructorDescriptionAnalyticsDataset
(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 JsonObjectModifier and TypeMethodDescriptionQueryIndex.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 JsonObjectModifier 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.Methods in com.couchbase.client.java.manager.search with parameters of type JsonObjectModifier 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
Methods in com.couchbase.client.java.query that return types with arguments of type JsonObjectModifier 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 as returned by the query engine which is then decoded toJsonObject
Methods in com.couchbase.client.java.query with parameters of type JsonObjectModifier 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
Methods in com.couchbase.client.java.search that return JsonObject -
Uses of JsonObject in com.couchbase.client.java.search.result
Methods in com.couchbase.client.java.search.result that return JsonObjectModifier 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
Methods in com.couchbase.client.java.transactions that return JsonObjectModifier and TypeMethodDescriptionTransactionGetResult.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 JsonObjectModifier and TypeMethodDescriptionTransactionQueryResult.rowsAsObject()
Returns all rows, converted intoJsonObject
s.Methods in com.couchbase.client.java.transactions with parameters of type JsonObjectModifier and TypeMethodDescriptionTransactionQueryOptions.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 JsonObjectModifier and TypeMethodDescriptionViewMetaData.debug()
If present, returns debug information of the view request.Methods in com.couchbase.client.java.view with parameters of type JsonObjectModifier and TypeMethodDescriptionViewOptions.endKey
(JsonObject key) ViewOptions.key
(JsonObject key) ViewOptions.startKey
(JsonObject key)