Uses of Class
com.couchbase.client.java.document.json.JsonArray
-
Packages that use 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 areExpressionsthat 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 ParameterizedAnalyticsQueryAnalyticsQuery. parameterized(String statement, JsonArray positionalParams)Creates anAnalyticsQuerywith positional parameters as part of the query.static ParameterizedAnalyticsQueryAnalyticsQuery. parameterized(String statement, JsonArray positionalParams, AnalyticsParams params)Creates anAnalyticsQuerywith 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 JsonArrayDocumentJsonArrayDocument. create(String id, int expiry, JsonArray content)Creates aJsonDocumentwhich the document id, JSON content and the expiration time.static JsonArrayDocumentJsonArrayDocument. create(String id, int expiry, JsonArray content, long cas)Creates aJsonDocumentwhich the document id, JSON content, CAS value, expiration time and status code.static JsonArrayDocumentJsonArrayDocument. create(String id, int expiry, JsonArray content, long cas, MutationToken mutationToken)Creates aJsonDocumentwhich the document id, JSON content, CAS value, expiration time and status code.static JsonArrayDocumentJsonArrayDocument. create(String id, JsonArray content)Creates aJsonDocumentwhich the document id and JSON content.static JsonArrayDocumentJsonArrayDocument. create(String id, JsonArray content, long cas)Creates aJsonDocumentwhich the document id, JSON content and the CAS value.static JsonArrayDocumentJsonArrayDocument. from(JsonArrayDocument doc, JsonArray content)Creates a copy from a differentJsonDocument, but changes the content.static JsonArrayDocumentJsonArrayDocument. 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 JsonArrayJsonArray. add(boolean value)JsonArrayJsonArray. add(double value)JsonArrayJsonArray. add(int value)JsonArrayJsonArray. add(long value)JsonArrayJsonArray. add(JsonArray value)JsonArrayJsonArray. add(JsonObject value)Append anJsonObjectelement to theJsonArray.JsonArrayJsonArray. add(Number value)JsonArrayJsonArray. add(Object value)Append an element to theJsonArray.JsonArrayJsonArray. add(String value)JsonArrayJsonArray. add(List<?> value)JsonArrayJsonArray. add(Map<String,?> value)JsonArrayJsonArray. addNull()Append a null element to theJsonArray.static JsonArrayJsonArray. create()Creates a emptyJsonArray.static JsonArrayJsonArray. empty()Creates a emptyJsonArray.static JsonArrayJsonArray. from(Object... items)Creates a newJsonArrayand populates it with the values supplied.static JsonArrayJsonArray. from(List<?> items)static JsonArrayJsonArray. fromJson(String s)JsonArrayJsonObject. getAndDecryptArray(String name, String providerName)Retrieves the decrypted value from the field name and casts it toJsonArray.JsonArrayJsonArray. getArray(int index)JsonArrayJsonObject. getArray(String name)Retrieves the value from the field name and casts it toJsonArray.static JsonArrayJsonValue. 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 JsonArrayJsonArray. add(JsonArray value)JsonObjectJsonObject. put(String name, JsonArray value)Stores aJsonArrayvalue identified by the field name.JsonObjectJsonObject. putAndEncrypt(String name, JsonArray value, String providerName)Stores aJsonArrayvalue 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 ParameterizedN1qlQueryN1qlQuery. parameterized(Statement statement, JsonArray positionalParams)Create a new query with positional parameters.static ParameterizedN1qlQueryN1qlQuery. parameterized(Statement statement, JsonArray positionalParams, N1qlParams params)Create a new query with positionalParameters.static ParameterizedN1qlQueryN1qlQuery. parameterized(String statement, JsonArray positionalParams)Create a new query with positionalParameters.static ParameterizedN1qlQueryN1qlQuery. 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 ExpressionExpression. and(JsonArray right)AND-combines two expressions.ExpressionExpression. between(JsonArray right)Adds a BETWEEN clause between the current and the given expression.ExpressionExpression. concat(JsonArray right)Combines two expressions with the concatenation operator ("||").ExpressionExpression. eq(JsonArray right)Combines two expressions with the equals operator ("=").ExpressionExpression. gt(JsonArray right)Combines two expressions with the greater than operator (">").ExpressionExpression. gte(JsonArray right)Combines two expressions with the greater or equals than operator (">=").ExpressionExpression. in(JsonArray right)Adds a IN clause between the current and the given expression.ExpressionExpression. like(JsonArray right)Adds a LIKE clause between the current and the given expression.ExpressionExpression. lt(JsonArray right)Combines two expressions with the less than operator ("<").ExpressionExpression. lte(JsonArray right)Combines two expressions with the less or equals than operator ("<=").ExpressionExpression. ne(JsonArray right)Combines two expressions with the not equals operator ("!=").ExpressionExpression. notBetween(JsonArray right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionExpression. notIn(JsonArray right)Adds a NOT IN clause between the current and the given expression.ExpressionExpression. notLike(JsonArray right)Adds a NOT LIKE clause between the current and the given expression.ExpressionExpression. or(JsonArray right)OR-combines two expressions.static ExpressionExpression. 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 ExpressionArrayFunctions. arrayAppend(JsonArray array, Expression value)Returned expression results in new array with value appended.static ExpressionArrayFunctions. 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 ExpressionArrayFunctions. arrayConcat(JsonArray array1, JsonArray array2)Returned expression results in new array with the concatenation of the input arrays.static ExpressionArrayFunctions. arrayContains(JsonArray array, Expression value)Returned expression results in true if the array contains value.static ExpressionArrayFunctions. 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 ExpressionArrayFunctions. arrayDistinct(JsonArray array)Returned expression results in new array with distinct elements of input array.static ExpressionArrayFunctions. arrayIfNull(JsonArray array)Returned expression results in the first non-NULL value in the array, or NULL.static ExpressionArrayFunctions. arrayLength(JsonArray array)Returned expression results in the number of elements in the array.static ExpressionArrayFunctions. arrayMax(JsonArray array)Returned expression results in the largest non-NULL, non-MISSING array element, in N1QL collation order.static ExpressionArrayFunctions. arrayMin(JsonArray array)Returned expression results in the smallest non-NULL, non-MISSING array element, in N1QL collation order.static ExpressionArrayFunctions. arrayPosition(JsonArray array, Expression value)Returned expression results in the first position of value within the array, or -1.static ExpressionArrayFunctions. arrayPrepend(JsonArray array, Expression value)Returned expression results in the new array with value pre-pended.static ExpressionArrayFunctions. 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 ExpressionArrayFunctions. arrayRemove(JsonArray array, Expression value)Returned expression results in new array with all occurrences of value removed.static ExpressionArrayFunctions. arrayReplace(JsonArray array, Expression value1, Expression value2)Returned expression results in new array with all occurrences of value1 replaced by value2.static ExpressionArrayFunctions. 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 ExpressionArrayFunctions. arrayReverse(JsonArray array)Returned expression results in new array with all elements in reverse order.static ExpressionArrayFunctions. arraySort(JsonArray array)Returned expression results in new array with elements sorted in N1QL collation order.static ExpressionArrayFunctions. 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 LetPathDefaultKeysPath. onKeys(JsonArray keys)LetPathKeysPath. onKeys(JsonArray keys)the on-key clause of a join/nest/unnest clause with an array of constant keys (eg.MergeUpdateSetPathDefaultMergeUpdateSetOrUnsetPath. set(Expression path, JsonArray value)MergeUpdateSetPathDefaultMergeUpdateSetOrUnsetPath. set(Expression path, JsonArray value, Expression updateFor)MergeUpdateSetPathDefaultMergeUpdateSetOrUnsetPath. set(String path, JsonArray value)MergeUpdateSetPathDefaultMergeUpdateSetOrUnsetPath. set(String path, JsonArray value, Expression updateFor)MergeUpdateSetPathDefaultMergeUpdateSetPath. set(Expression path, JsonArray value)MergeUpdateSetPathDefaultMergeUpdateSetPath. set(Expression path, JsonArray value, Expression updateFor)MergeUpdateSetPathDefaultMergeUpdateSetPath. set(String path, JsonArray value)MergeUpdateSetPathDefaultMergeUpdateSetPath. set(String path, JsonArray value, Expression updateFor)UpdateSetPathDefaultUpdateSetOrUnsetPath. set(Expression path, JsonArray value)UpdateSetPathDefaultUpdateSetOrUnsetPath. set(Expression path, JsonArray value, Expression updateFor)UpdateSetPathDefaultUpdateSetOrUnsetPath. set(String path, JsonArray value)UpdateSetPathDefaultUpdateSetOrUnsetPath. set(String path, JsonArray value, Expression updateFor)UpdateSetPathDefaultUpdateSetPath. set(Expression path, JsonArray value)UpdateSetPathDefaultUpdateSetPath. set(Expression path, JsonArray value, Expression updateFor)UpdateSetPathDefaultUpdateSetPath. set(String path, JsonArray value)UpdateSetPathDefaultUpdateSetPath. set(String path, JsonArray value, Expression updateFor)MergeUpdateSetPathMergeUpdateSetOrUnsetPath. set(Expression path, JsonArray value)MergeUpdateSetPathMergeUpdateSetOrUnsetPath. set(Expression path, JsonArray value, Expression updateFor)MergeUpdateSetPathMergeUpdateSetOrUnsetPath. set(String path, JsonArray value)MergeUpdateSetPathMergeUpdateSetOrUnsetPath. set(String path, JsonArray value, Expression updateFor)MergeUpdateSetPathMergeUpdateSetPath. set(Expression path, JsonArray value)MergeUpdateSetPathMergeUpdateSetPath. set(Expression path, JsonArray value, Expression updateFor)MergeUpdateSetPathMergeUpdateSetPath. set(String path, JsonArray value)MergeUpdateSetPathMergeUpdateSetPath. set(String path, JsonArray value, Expression updateFor)UpdateSetPathUpdateSetOrUnsetPath. set(Expression path, JsonArray value)UpdateSetPathUpdateSetOrUnsetPath. set(Expression path, JsonArray value, Expression updateFor)UpdateSetPathUpdateSetOrUnsetPath. set(String path, JsonArray value)UpdateSetPathUpdateSetOrUnsetPath. set(String path, JsonArray value, Expression updateFor)UpdateSetPathUpdateSetPath. set(Expression path, JsonArray value)UpdateSetPathUpdateSetPath. set(Expression path, JsonArray value, Expression updateFor)UpdateSetPathUpdateSetPath. set(String path, JsonArray value)UpdateSetPathUpdateSetPath. set(String path, JsonArray value, Expression updateFor)MutateWherePathDefaultDeleteUsePath. useKeys(JsonArray keys)LetPathDefaultKeysPath. useKeys(JsonArray keys)UpdateSetOrUnsetPathDefaultUpdateUsePath. useKeys(JsonArray keys)MutateWherePathDeleteUsePath. useKeys(JsonArray keys)LetPathKeysPath. useKeys(JsonArray keys)use the primary keyspace (doc id) in a join clause)UpdateSetOrUnsetPathUpdateUsePath. useKeys(JsonArray keys)InsertValuesPathDefaultInitialInsertPath. values(Expression id, JsonArray value)InsertValuesPathDefaultInitialInsertPath. values(String id, JsonArray value)InsertValuesPathDefaultInsertValuesPath. values(Expression id, JsonArray value)InsertValuesPathDefaultInsertValuesPath. values(String id, JsonArray value)InsertValuesPathInitialInsertPath. values(Expression id, JsonArray value)InsertValuesPathInitialInsertPath. values(String id, JsonArray value)InsertValuesPathInsertValuesPath. values(Expression id, JsonArray value)InsertValuesPathInsertValuesPath. 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 JsonArrayIndexInfo. indexKey()Return anarrayof 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 JsonArrayJsonArrayTranscoder. byteBufToJsonArray(com.couchbase.client.deps.io.netty.buffer.ByteBuf input)JsonArrayJsonArrayTranscoder. 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.ByteBufJsonArrayTranscoder. jsonArrayToByteBuf(JsonArray input)StringJsonArrayTranscoder. jsonArrayToString(JsonArray input)JsonArrayDocumentJsonArrayTranscoder. newDocument(String id, int expiry, JsonArray content, long cas)JsonArrayDocumentJsonArrayTranscoder. 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 JsonArrayAsyncSpatialViewRow. key()The key of the row.JsonArrayDefaultAsyncSpatialViewRow. key()JsonArrayDefaultSpatialViewRow. key()JsonArraySpatialViewRow. key()The key of the row index.Methods in com.couchbase.client.java.view with parameters of type JsonArray Modifier and Type Method Description ViewQueryViewQuery. endKey(JsonArray key)SpatialViewQuerySpatialViewQuery. endRange(JsonArray endRange)ViewQueryViewQuery. key(JsonArray key)ViewQueryViewQuery. keys(JsonArray keys)SpatialViewQuerySpatialViewQuery. range(JsonArray startRange, JsonArray endRange)ViewQueryViewQuery. startKey(JsonArray key)SpatialViewQuerySpatialViewQuery. 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)
-