Uses of Class
com.couchbase.client.java.document.json.JsonArray
Package | Description |
---|---|
com.couchbase.client.java.analytics | |
com.couchbase.client.java.document | |
com.couchbase.client.java.document.json | |
com.couchbase.client.java.query | |
com.couchbase.client.java.query.dsl | |
com.couchbase.client.java.query.dsl.functions |
Functions are
Expressions that represent predefined utility
functions in N1QL. |
com.couchbase.client.java.query.dsl.path | |
com.couchbase.client.java.query.util | |
com.couchbase.client.java.transcoder | |
com.couchbase.client.java.view |
-
Uses of JsonArray in com.couchbase.client.java.analytics
Methods in com.couchbase.client.java.analytics with parameters of type JsonArray Modifier and Type Method Description static ParameterizedAnalyticsQuery
AnalyticsQuery. parameterized(String statement, JsonArray positionalParams)
Creates anAnalyticsQuery
with positional parameters as part of the query.static ParameterizedAnalyticsQuery
AnalyticsQuery. parameterized(String statement, JsonArray positionalParams, AnalyticsParams params)
Creates anAnalyticsQuery
with positional parameters as part of the query. -
Uses of JsonArray in com.couchbase.client.java.document
Methods in com.couchbase.client.java.document with parameters of type JsonArray Modifier and Type Method Description static JsonArrayDocument
JsonArrayDocument. create(String id, int expiry, JsonArray content)
Creates aJsonDocument
which the document id, JSON content and the expiration time.static JsonArrayDocument
JsonArrayDocument. create(String id, int expiry, JsonArray content, long cas)
Creates aJsonDocument
which the document id, JSON content, CAS value, expiration time and status code.static JsonArrayDocument
JsonArrayDocument. create(String id, int expiry, JsonArray content, long cas, MutationToken mutationToken)
Creates aJsonDocument
which the document id, JSON content, CAS value, expiration time and status code.static JsonArrayDocument
JsonArrayDocument. create(String id, JsonArray content)
Creates aJsonDocument
which the document id and JSON content.static JsonArrayDocument
JsonArrayDocument. create(String id, JsonArray content, long cas)
Creates aJsonDocument
which the document id, JSON content and the CAS value.static JsonArrayDocument
JsonArrayDocument. from(JsonArrayDocument doc, JsonArray content)
Creates a copy from a differentJsonDocument
, but changes the content.static JsonArrayDocument
JsonArrayDocument. from(JsonArrayDocument doc, String id, JsonArray content)
Creates a copy from a differentJsonDocument
, but changes the document ID and content. -
Uses of JsonArray in com.couchbase.client.java.document.json
Methods in com.couchbase.client.java.document.json that return JsonArray Modifier and Type Method Description JsonArray
JsonArray. add(boolean value)
JsonArray
JsonArray. add(double value)
JsonArray
JsonArray. add(int value)
JsonArray
JsonArray. add(long value)
JsonArray
JsonArray. add(JsonArray value)
JsonArray
JsonArray. add(JsonObject value)
Append anJsonObject
element to theJsonArray
.JsonArray
JsonArray. add(Number value)
JsonArray
JsonArray. add(Object value)
Append an element to theJsonArray
.JsonArray
JsonArray. add(String value)
JsonArray
JsonArray. add(List<?> value)
JsonArray
JsonArray. add(Map<String,?> value)
JsonArray
JsonArray. addNull()
Append a null element to theJsonArray
.static JsonArray
JsonArray. create()
Creates a emptyJsonArray
.static JsonArray
JsonArray. empty()
Creates a emptyJsonArray
.static JsonArray
JsonArray. from(Object... items)
Creates a newJsonArray
and populates it with the values supplied.static JsonArray
JsonArray. from(List<?> items)
static JsonArray
JsonArray. fromJson(String s)
JsonArray
JsonObject. getAndDecryptArray(String name, String providerName)
Retrieves the decrypted value from the field name and casts it toJsonArray
.JsonArray
JsonArray. getArray(int index)
JsonArray
JsonObject. getArray(String name)
Retrieves the value from the field name and casts it toJsonArray
.static JsonArray
JsonValue. ja()
Static factory method to create an emptyJsonArray
.Methods in com.couchbase.client.java.document.json with parameters of type JsonArray Modifier and Type Method Description JsonArray
JsonArray. add(JsonArray value)
JsonObject
JsonObject. put(String name, JsonArray value)
Stores aJsonArray
value identified by the field name.JsonObject
JsonObject. putAndEncrypt(String name, JsonArray value, String providerName)
Stores aJsonArray
value as encrypted identified by the field name. -
Uses of JsonArray in com.couchbase.client.java.query
Methods in com.couchbase.client.java.query with parameters of type JsonArray Modifier and Type Method Description static ParameterizedN1qlQuery
N1qlQuery. parameterized(Statement statement, JsonArray positionalParams)
Create a new query with positional parameters.static ParameterizedN1qlQuery
N1qlQuery. parameterized(Statement statement, JsonArray positionalParams, N1qlParams params)
Create a new query with positionalParameters.static ParameterizedN1qlQuery
N1qlQuery. parameterized(String statement, JsonArray positionalParams)
Create a new query with positionalParameters.static ParameterizedN1qlQuery
N1qlQuery. parameterized(String statement, JsonArray positionalParams, N1qlParams params)
Create a new query with positionalParameters.Constructors in com.couchbase.client.java.query with parameters of type JsonArray Constructor Description PreparedN1qlQuery(PreparedPayload plan, JsonArray positionalParams, N1qlParams params)
-
Uses of JsonArray in com.couchbase.client.java.query.dsl
Methods in com.couchbase.client.java.query.dsl with parameters of type JsonArray Modifier and Type Method Description Expression
Expression. and(JsonArray right)
AND-combines two expressions.Expression
Expression. between(JsonArray right)
Adds a BETWEEN clause between the current and the given expression.Expression
Expression. concat(JsonArray right)
Combines two expressions with the concatenation operator ("||").Expression
Expression. eq(JsonArray right)
Combines two expressions with the equals operator ("=").Expression
Expression. gt(JsonArray right)
Combines two expressions with the greater than operator (">").Expression
Expression. gte(JsonArray right)
Combines two expressions with the greater or equals than operator (">=").Expression
Expression. in(JsonArray right)
Adds a IN clause between the current and the given expression.Expression
Expression. like(JsonArray right)
Adds a LIKE clause between the current and the given expression.Expression
Expression. lt(JsonArray right)
Combines two expressions with the less than operator ("<").Expression
Expression. lte(JsonArray right)
Combines two expressions with the less or equals than operator ("<=").Expression
Expression. ne(JsonArray right)
Combines two expressions with the not equals operator ("!=").Expression
Expression. notBetween(JsonArray right)
Adds a NOT BETWEEN clause between the current and the given expression.Expression
Expression. notIn(JsonArray right)
Adds a NOT IN clause between the current and the given expression.Expression
Expression. notLike(JsonArray right)
Adds a NOT LIKE clause between the current and the given expression.Expression
Expression. or(JsonArray right)
OR-combines two expressions.static Expression
Expression. x(JsonArray value)
Creates an arbitrary expression from the given json array. -
Uses of JsonArray in com.couchbase.client.java.query.dsl.functions
Methods in com.couchbase.client.java.query.dsl.functions with parameters of type JsonArray Modifier and Type Method Description static Expression
ArrayFunctions. arrayAppend(JsonArray array, Expression value)
Returned expression results in new array with value appended.static Expression
ArrayFunctions. arrayAvg(JsonArray array)
Returned expression results in arithmetic mean (average) of all the non-NULL number values in the array, or NULL if there are no such values.static Expression
ArrayFunctions. arrayConcat(JsonArray array1, JsonArray array2)
Returned expression results in new array with the concatenation of the input arrays.static Expression
ArrayFunctions. arrayContains(JsonArray array, Expression value)
Returned expression results in true if the array contains value.static Expression
ArrayFunctions. arrayCount(JsonArray array)
Returned expression results in count of all the non-NULL values in the array, or zero if there are no such values.static Expression
ArrayFunctions. arrayDistinct(JsonArray array)
Returned expression results in new array with distinct elements of input array.static Expression
ArrayFunctions. arrayIfNull(JsonArray array)
Returned expression results in the first non-NULL value in the array, or NULL.static Expression
ArrayFunctions. arrayLength(JsonArray array)
Returned expression results in the number of elements in the array.static Expression
ArrayFunctions. arrayMax(JsonArray array)
Returned expression results in the largest non-NULL, non-MISSING array element, in N1QL collation order.static Expression
ArrayFunctions. arrayMin(JsonArray array)
Returned expression results in the smallest non-NULL, non-MISSING array element, in N1QL collation order.static Expression
ArrayFunctions. arrayPosition(JsonArray array, Expression value)
Returned expression results in the first position of value within the array, or -1.static Expression
ArrayFunctions. arrayPrepend(JsonArray array, Expression value)
Returned expression results in the new array with value pre-pended.static Expression
ArrayFunctions. arrayPut(JsonArray array, Expression value)
Returned expression results in new array with value appended, if value is not already present, otherwise the unmodified input array.static Expression
ArrayFunctions. arrayRemove(JsonArray array, Expression value)
Returned expression results in new array with all occurrences of value removed.static Expression
ArrayFunctions. arrayReplace(JsonArray array, Expression value1, Expression value2)
Returned expression results in new array with all occurrences of value1 replaced by value2.static Expression
ArrayFunctions. arrayReplace(JsonArray array, Expression value1, Expression value2, long n)
Returned expression results in new array with at most n occurrences of value1 replaced with value2.static Expression
ArrayFunctions. arrayReverse(JsonArray array)
Returned expression results in new array with all elements in reverse order.static Expression
ArrayFunctions. arraySort(JsonArray array)
Returned expression results in new array with elements sorted in N1QL collation order.static Expression
ArrayFunctions. arraySum(JsonArray array)
Returned expression results in the sum of all the non-NULL number values in the array, or zero if there are no such values. -
Uses of JsonArray in com.couchbase.client.java.query.dsl.path
Methods in com.couchbase.client.java.query.dsl.path with parameters of type JsonArray Modifier and Type Method Description LetPath
DefaultKeysPath. onKeys(JsonArray keys)
LetPath
KeysPath. onKeys(JsonArray keys)
the on-key clause of a join/nest/unnest clause with an array of constant keys (eg.MergeUpdateSetPath
DefaultMergeUpdateSetOrUnsetPath. set(Expression path, JsonArray value)
MergeUpdateSetPath
DefaultMergeUpdateSetOrUnsetPath. set(Expression path, JsonArray value, Expression updateFor)
MergeUpdateSetPath
DefaultMergeUpdateSetOrUnsetPath. set(String path, JsonArray value)
MergeUpdateSetPath
DefaultMergeUpdateSetOrUnsetPath. set(String path, JsonArray value, Expression updateFor)
MergeUpdateSetPath
DefaultMergeUpdateSetPath. set(Expression path, JsonArray value)
MergeUpdateSetPath
DefaultMergeUpdateSetPath. set(Expression path, JsonArray value, Expression updateFor)
MergeUpdateSetPath
DefaultMergeUpdateSetPath. set(String path, JsonArray value)
MergeUpdateSetPath
DefaultMergeUpdateSetPath. set(String path, JsonArray value, Expression updateFor)
UpdateSetPath
DefaultUpdateSetOrUnsetPath. set(Expression path, JsonArray value)
UpdateSetPath
DefaultUpdateSetOrUnsetPath. set(Expression path, JsonArray value, Expression updateFor)
UpdateSetPath
DefaultUpdateSetOrUnsetPath. set(String path, JsonArray value)
UpdateSetPath
DefaultUpdateSetOrUnsetPath. set(String path, JsonArray value, Expression updateFor)
UpdateSetPath
DefaultUpdateSetPath. set(Expression path, JsonArray value)
UpdateSetPath
DefaultUpdateSetPath. set(Expression path, JsonArray value, Expression updateFor)
UpdateSetPath
DefaultUpdateSetPath. set(String path, JsonArray value)
UpdateSetPath
DefaultUpdateSetPath. set(String path, JsonArray value, Expression updateFor)
MergeUpdateSetPath
MergeUpdateSetOrUnsetPath. set(Expression path, JsonArray value)
MergeUpdateSetPath
MergeUpdateSetOrUnsetPath. set(Expression path, JsonArray value, Expression updateFor)
MergeUpdateSetPath
MergeUpdateSetOrUnsetPath. set(String path, JsonArray value)
MergeUpdateSetPath
MergeUpdateSetOrUnsetPath. set(String path, JsonArray value, Expression updateFor)
MergeUpdateSetPath
MergeUpdateSetPath. set(Expression path, JsonArray value)
MergeUpdateSetPath
MergeUpdateSetPath. set(Expression path, JsonArray value, Expression updateFor)
MergeUpdateSetPath
MergeUpdateSetPath. set(String path, JsonArray value)
MergeUpdateSetPath
MergeUpdateSetPath. set(String path, JsonArray value, Expression updateFor)
UpdateSetPath
UpdateSetOrUnsetPath. set(Expression path, JsonArray value)
UpdateSetPath
UpdateSetOrUnsetPath. set(Expression path, JsonArray value, Expression updateFor)
UpdateSetPath
UpdateSetOrUnsetPath. set(String path, JsonArray value)
UpdateSetPath
UpdateSetOrUnsetPath. set(String path, JsonArray value, Expression updateFor)
UpdateSetPath
UpdateSetPath. set(Expression path, JsonArray value)
UpdateSetPath
UpdateSetPath. set(Expression path, JsonArray value, Expression updateFor)
UpdateSetPath
UpdateSetPath. set(String path, JsonArray value)
UpdateSetPath
UpdateSetPath. set(String path, JsonArray value, Expression updateFor)
MutateWherePath
DefaultDeleteUsePath. useKeys(JsonArray keys)
LetPath
DefaultKeysPath. useKeys(JsonArray keys)
UpdateSetOrUnsetPath
DefaultUpdateUsePath. useKeys(JsonArray keys)
MutateWherePath
DeleteUsePath. useKeys(JsonArray keys)
LetPath
KeysPath. useKeys(JsonArray keys)
use the primary keyspace (doc id) in a join clause)UpdateSetOrUnsetPath
UpdateUsePath. useKeys(JsonArray keys)
InsertValuesPath
DefaultInitialInsertPath. values(Expression id, JsonArray value)
InsertValuesPath
DefaultInitialInsertPath. values(String id, JsonArray value)
InsertValuesPath
DefaultInsertValuesPath. values(Expression id, JsonArray value)
InsertValuesPath
DefaultInsertValuesPath. values(String id, JsonArray value)
InsertValuesPath
InitialInsertPath. values(Expression id, JsonArray value)
InsertValuesPath
InitialInsertPath. values(String id, JsonArray value)
InsertValuesPath
InsertValuesPath. values(Expression id, JsonArray value)
InsertValuesPath
InsertValuesPath. values(String id, JsonArray value)
-
Uses of JsonArray in com.couchbase.client.java.query.util
Methods in com.couchbase.client.java.query.util that return JsonArray Modifier and Type Method Description JsonArray
IndexInfo. indexKey()
Return anarray
of Strings that represent the index key(s). -
Uses of JsonArray in com.couchbase.client.java.transcoder
Methods in com.couchbase.client.java.transcoder that return JsonArray Modifier and Type Method Description JsonArray
JsonArrayTranscoder. byteBufToJsonArray(com.couchbase.client.deps.io.netty.buffer.ByteBuf input)
JsonArray
JsonArrayTranscoder. stringToJsonArray(String input)
Methods in com.couchbase.client.java.transcoder with parameters of type JsonArray Modifier and Type Method Description com.couchbase.client.deps.io.netty.buffer.ByteBuf
JsonArrayTranscoder. jsonArrayToByteBuf(JsonArray input)
String
JsonArrayTranscoder. jsonArrayToString(JsonArray input)
JsonArrayDocument
JsonArrayTranscoder. newDocument(String id, int expiry, JsonArray content, long cas)
JsonArrayDocument
JsonArrayTranscoder. newDocument(String id, int expiry, JsonArray content, long cas, MutationToken mutationToken)
-
Uses of JsonArray in com.couchbase.client.java.view
Methods in com.couchbase.client.java.view that return JsonArray Modifier and Type Method Description JsonArray
AsyncSpatialViewRow. key()
The key of the row.JsonArray
DefaultAsyncSpatialViewRow. key()
JsonArray
DefaultSpatialViewRow. key()
JsonArray
SpatialViewRow. key()
The key of the row index.Methods in com.couchbase.client.java.view with parameters of type JsonArray Modifier and Type Method Description ViewQuery
ViewQuery. endKey(JsonArray key)
SpatialViewQuery
SpatialViewQuery. endRange(JsonArray endRange)
ViewQuery
ViewQuery. key(JsonArray key)
ViewQuery
ViewQuery. keys(JsonArray keys)
SpatialViewQuery
SpatialViewQuery. range(JsonArray startRange, JsonArray endRange)
ViewQuery
ViewQuery. startKey(JsonArray key)
SpatialViewQuery
SpatialViewQuery. startRange(JsonArray startRange)
Constructors in com.couchbase.client.java.view with parameters of type JsonArray Constructor Description DefaultAsyncSpatialViewRow(AsyncBucket bucket, String id, JsonArray key, Object value, JsonObject geometry, Document<?> document)