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.facet Search facets APIs.com.couchbase.client.java.search.queries Contains the various APIs for search queries.com.couchbase.client.java.search.result Holds search result classes and interfaces.com.couchbase.client.java.search.sort Holds classes related to search sorting.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 intoJsonObjects.Flux<JsonObject>ReactiveAnalyticsResult. rowsAsObject()Get aFluxwhich publishes the rows that were fetched by the query which are then decoded toJsonObjectOptional<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 voidAnalyticsOptions.Built. injectParams(JsonObject input)AnalyticsOptionsAnalyticsOptions. 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 JsonObjectJacksonTransformers. bytesToJsonObject(byte[] input)static JsonObjectJsonObject. create()Creates a emptyJsonObject.static JsonObjectJsonObject. create(int initialCapacity)Creates a emptyJsonObject.static JsonObjectJsonObject. from(Map<String,?> mapData)Constructs aJsonObjectfrom aMap<String, ?>.static JsonObjectJsonObject. fromJson(byte[] s)static JsonObjectJsonObject. fromJson(String s)Static method to create aJsonObjectfrom a JSONString.JsonObjectJsonArray. getObject(int index)Retrieves the value by the position in theJsonArrayand casts it toJsonObject.JsonObjectJsonObject. getObject(String name)Retrieves the value from the field name and casts it toJsonObject.JsonObjectJsonObjectCrypto. getObject(String fieldName)static JsonObjectJsonValue. jo()Static factory method to create an emptyJsonObject.JsonObjectJsonObjectCrypto. object()Returns the JsonObject bound to this crypto view.JsonObjectJsonObject. put(String name, boolean value)Stores aBooleanvalue identified by the field name.JsonObjectJsonObject. put(String name, double value)Stores aDoublevalue identified by the field name.JsonObjectJsonObject. put(String name, int value)Stores aIntegervalue identified by the field name.JsonObjectJsonObject. put(String name, long value)Stores aLongvalue identified by the field name.JsonObjectJsonObject. put(String name, JsonArray value)Stores aJsonArrayvalue identified by the field name.JsonObjectJsonObject. put(String name, JsonObject value)Stores aJsonObjectvalue identified by the field name.JsonObjectJsonObject. put(String name, Number value)Stores aNumbervalue identified by the field name.JsonObjectJsonObject. put(String name, Object value)Stores aObjectvalue identified by the field name.JsonObjectJsonObject. put(String name, String value)Stores aStringvalue identified by the field name.JsonObjectJsonObject. put(String name, List<?> value)Stores aJsonArrayvalue identified by the field name.JsonObjectJsonObject. put(String name, Map<String,?> value)Attempt to convert aMapto aJsonObjectvalue and store it, identified by the field name.JsonObjectJsonObject. putNull(String name)Store a null value identified by the field's name.JsonObjectJsonObject. removeKey(String name)Removes an entry from theJsonObject.static JsonObjectJacksonTransformers. stringToJsonObject(String input)Methods in com.couchbase.client.java.json with parameters of type JsonObject Modifier and Type Method Description JsonArrayJsonArray. add(JsonObject value)Append anJsonObjectelement to theJsonArray.JsonObjectJsonObject. put(String name, JsonObject value)Stores aJsonObjectvalue identified by the field name.JsonObjectCryptoJsonObjectCrypto. 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 JsonObjectGetResult. contentAsObject()Decodes the content of the document into aJsonObject.JsonObjectLookupInResult. contentAsObject(int index)Decodes the encoded content at the given index into aJsonObject.JsonObjectMutationState. export()Exports theMutationStateinto 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.JsonObjectMutationState. exportForSearch()Exports theMutationStateinto 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 MutationStateMutationState. from(JsonObject source)Create aMutationStatefrom 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 JsonObjectAnalyticsDataset. json()Returns the "raw" JSON returned from the analytics service.JsonObjectAnalyticsDataverse. json()Returns the "raw" JSON returned from the analytics service.JsonObjectAnalyticsIndex. 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 JsonObjectQueryIndex. 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>>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>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>>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>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 toJsonObjectList<JsonObject>QueryResult. rowsAsObject()Returns all rows, converted intoJsonObjects.Flux<JsonObject>ReactiveQueryResult. rowsAsObject()Get aFluxwhich publishes the rows that were fetched by the query which are then decoded toJsonObjectOptional<JsonObject>QueryMetaData. signature()Returns the signature as returned by the query engine which is then decoded toJsonObjectMethods in com.couchbase.client.java.query with parameters of type JsonObject Modifier and Type Method Description voidQueryOptions.Built. injectParams(JsonObject queryJson)QueryOptionsQueryOptions. 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 JsonObjectSearchQuery. export()Exports the whole query as aJsonObject.Methods in com.couchbase.client.java.search with parameters of type JsonObject Modifier and Type Method Description voidSearchOptions.Built. injectParams(String indexName, JsonObject queryJson, Duration timeout)Inject the top level parameters of a query into a preparedJsonObjectthat represents the root of the query.protected abstract voidSearchQuery. injectParams(JsonObject input)voidSearchQuery. injectParamsAndBoost(JsonObject input) -
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 voidDateRangeFacet. injectParams(JsonObject queryJson)voidNumericRangeFacet. injectParams(JsonObject queryJson)voidSearchFacet. 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 voidBooleanFieldQuery. injectParams(JsonObject input)protected voidBooleanQuery. injectParams(JsonObject input)protected voidConjunctionQuery. injectParams(JsonObject input)protected voidDateRangeQuery. injectParams(JsonObject input)protected voidDisjunctionQuery. injectParams(JsonObject input)protected voidDocIdQuery. injectParams(JsonObject input)protected voidGeoBoundingBoxQuery. injectParams(JsonObject input)protected voidGeoDistanceQuery. injectParams(JsonObject input)protected voidGeoPolygonQuery. injectParams(JsonObject input)protected voidMatchAllQuery. injectParams(JsonObject input)protected voidMatchNoneQuery. injectParams(JsonObject input)protected voidMatchPhraseQuery. injectParams(JsonObject input)protected voidMatchQuery. injectParams(JsonObject input)protected voidNumericRangeQuery. injectParams(JsonObject input)protected voidPhraseQuery. injectParams(JsonObject input)protected voidPrefixQuery. injectParams(JsonObject input)protected voidQueryStringQuery. injectParams(JsonObject input)protected voidRegexpQuery. injectParams(JsonObject input)protected voidTermQuery. injectParams(JsonObject input)protected voidTermRangeQuery. injectParams(JsonObject input)protected voidWildcardQuery. injectParams(JsonObject input) -
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 JsonObjectSearchRow. explanation()IfSearchOptions.explain(boolean)() requested in the query}, an explanation of the match, in JSON form.Methods in com.couchbase.client.java.search.result with parameters of type JsonObject Modifier and Type Method Description static SearchRowLocationsSearchRowLocations. from(JsonObject locationsJson)Parses a FTS JSON representation of aSearchRowLocations.Constructors in com.couchbase.client.java.search.result with parameters of type JsonObject Constructor Description SearchRow(String index, String id, double score, JsonObject explanation, Optional<SearchRowLocations> locations, Map<String,List<String>> fragments, byte[] fields, JsonSerializer serializer) -
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 voidSearchSort. injectParams(JsonObject queryJson)voidSearchSortField. injectParams(JsonObject queryJson)voidSearchSortGeoDistance. injectParams(JsonObject queryJson) -
Uses of JsonObject in com.couchbase.client.java.transactions
Methods in com.couchbase.client.java.transactions that return JsonObject Modifier and Type Method Description JsonObjectTransactionGetResult. contentAsObject()Decodes the content of the document into aJsonObjectusing 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 intoJsonObjects.Methods in com.couchbase.client.java.transactions with parameters of type JsonObject Modifier and Type Method Description TransactionQueryOptionsTransactionQueryOptions. 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 ViewOptionsViewOptions. endKey(JsonObject key)ViewOptionsViewOptions. key(JsonObject key)ViewOptionsViewOptions. startKey(JsonObject key)
-