Uses of Class
com.couchbase.client.java.json.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.kv.projections | |
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.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 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
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.kv.projections
Methods in com.couchbase.client.java.kv.projections that return JsonObject Modifier and Type Method Description static JsonObject
ProjectionsApplier. parse(JsonObject in, String path, byte[] contentRaw)
Methods in com.couchbase.client.java.kv.projections with parameters of type JsonObject Modifier and Type Method Description static JsonObject
ProjectionsApplier. parse(JsonObject in, String path, byte[] contentRaw)
-
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()
JsonObject
AnalyticsDataverse. json()
JsonObject
AnalyticsIndex. raw()
Constructors in com.couchbase.client.java.manager.analytics with parameters of type JsonObject Constructor Description AnalyticsDataset(JsonObject json)
AnalyticsDataverse(JsonObject json)
AnalyticsIndex(JsonObject raw)
-
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()
Constructors in com.couchbase.client.java.manager.query with parameters of type JsonObject Constructor Description QueryIndex(JsonObject raw)
-
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 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
.Methods in com.couchbase.client.java.search with parameters of type JsonObject Modifier and Type Method Description void
SearchOptions.Built. injectParams(String indexName, JsonObject queryJson)
Inject the top level parameters of a query into a preparedJsonObject
that represents the root of the query.protected abstract void
SearchQuery. injectParams(JsonObject input)
void
SearchQuery. 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 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 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
GeoPolygonQuery. 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)
-
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)
() 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 SearchRowLocations
SearchRowLocations. 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 void
SearchSort. injectParams(JsonObject queryJson)
void
SearchSortField. injectParams(JsonObject queryJson)
void
SearchSortGeoDistance. injectParams(JsonObject queryJson)
-
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)