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.query |
APIs related to N1QL query index management.
|
com.couchbase.client.java.query |
Namespace for various query-service related classes.
|
com.couchbase.client.java.view |
Namespace for various view-service related classes.
|
Modifier and Type | Method and Description |
---|---|
AnalyticsOptions |
AnalyticsOptions.parameters(JsonArray positional)
Sets positional parameters for this query.
|
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonArray.add(boolean value)
|
JsonArray |
JsonArray.add(double value)
|
JsonArray |
JsonArray.add(int value)
|
JsonArray |
JsonArray.add(JsonArray value)
|
JsonArray |
JsonArray.add(JsonObject value)
Append an
JsonObject element to the JsonArray . |
JsonArray |
JsonArray.add(List<?> value)
|
JsonArray |
JsonArray.add(long value)
|
JsonArray |
JsonArray.add(Map<String,?> value)
|
JsonArray |
JsonArray.add(Number value)
|
JsonArray |
JsonArray.add(Object value)
Append an element to the
JsonArray . |
JsonArray |
JsonArray.add(String value)
|
JsonArray |
JsonArray.addNull()
Append a null element to the
JsonArray . |
static JsonArray |
JacksonTransformers.bytesToJsonArray(byte[] input) |
static JsonArray |
JsonArray.create()
Creates a empty
JsonArray . |
static JsonArray |
JsonArray.create(int initialCapacity)
Creates a empty
JsonArray . |
static JsonArray |
JsonArray.from(List<?> items)
|
static JsonArray |
JsonArray.from(Object... items)
Creates a new
JsonArray and populates it with the values supplied. |
static JsonArray |
JsonArray.fromJson(byte[] s) |
static JsonArray |
JsonArray.fromJson(String s)
|
JsonArray |
JsonArray.getArray(int index)
|
JsonArray |
JsonObject.getArray(String name)
Retrieves the value from the field name and casts it to
JsonArray . |
static JsonArray |
JsonValue.ja()
Static factory method to create an empty
JsonArray . |
static JsonArray |
JacksonTransformers.stringToJsonArray(String input) |
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonArray.add(JsonArray value)
|
JsonObject |
JsonObject.put(String name,
JsonArray value)
Stores a
JsonArray value identified by the field name. |
Modifier and Type | Method and Description |
---|---|
JsonArray |
GetResult.contentAsArray()
Decodes the content of the document into a
JsonArray . |
JsonArray |
LookupInResult.contentAsArray(int index)
Decodes the encoded content at the given index into a
JsonArray . |
Modifier and Type | Method and Description |
---|---|
JsonArray |
QueryIndex.indexKey()
Return an
array of Strings that represent the index key(s). |
Modifier and Type | Method and Description |
---|---|
QueryOptions |
QueryOptions.parameters(JsonArray positional)
Sets positional parameters for this query.
|
Modifier and Type | Method and Description |
---|---|
ViewOptions |
ViewOptions.endKey(JsonArray key) |
ViewOptions |
ViewOptions.key(JsonArray key) |
ViewOptions |
ViewOptions.keys(JsonArray keys) |
ViewOptions |
ViewOptions.startKey(JsonArray key) |
Copyright © 2020 Couchbase, Inc.. All rights reserved.