| Package | Description |
|---|---|
| io.debezium.document |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
BasicArray
Package-level implementation of
Array. |
| Modifier and Type | Method and Description |
|---|---|
default Array |
Array.add(Array value)
Adds the array value to the end of this array.
|
default Array |
Array.add(BigDecimal value)
Adds the decimal value to the end of this array.
|
default Array |
Array.add(BigInteger value)
Adds the big integer value to the end of this array.
|
default Array |
Array.add(boolean value)
Adds the boolean value to the end of this array.
|
default Array |
Array.add(Boolean value)
Adds the boolean value to the end of this array.
|
default Array |
Array.add(Document value)
Adds the document value to the end of this array.
|
default Array |
Array.add(double value)
Adds the double value to the end of this array.
|
default Array |
Array.add(Double value)
Adds the double value to the end of this array.
|
default Array |
Array.add(float value)
Adds the float value to the end of this array.
|
default Array |
Array.add(Float value)
Adds the float value to the end of this array.
|
default Array |
Array.add(int value)
Adds the integer value to the end of this array.
|
default Array |
Array.add(Integer value)
Adds the integer value to the end of this array.
|
default Array |
Array.add(long value)
Adds the long value to the end of this array.
|
default Array |
Array.add(Long value)
Adds the long value to the end of this array.
|
default Array |
Array.add(String value)
Adds the string value to the end of this array.
|
Array |
BasicArray.add(Value value) |
Array |
Array.add(Value value)
Adds the value to the end of this array.
|
default Array |
Array.addAll(Iterable<Value> values)
Sets on this object all name/value pairs from the supplied object.
|
default Array |
Array.addAll(Object... values)
Sets on this object all name/value pairs from the supplied object.
|
default Array |
Array.addAll(Stream<Value> values)
Sets on this object all name/value pairs from the supplied object.
|
default Array |
Array.addAll(Value... values)
Sets on this object all name/value pairs from the supplied object.
|
default Array |
Array.addNull()
Adds a null value to the end of this array.
|
Array |
Value.asArray() |
Array |
NullValue.asArray() |
Array |
ConvertingValue.asArray() |
Array |
ComparableValue.asArray() |
Array |
BinaryValue.asArray() |
Array |
BasicArray.clone() |
Array |
Array.clone()
Obtain a complete copy of this array.
|
static Array |
Array.create() |
static Array |
Array.create(Iterable<?> values) |
static Array |
Array.create(List<Value> values) |
static Array |
Array.create(Object... values) |
static Array |
Array.create(Value[] values) |
static Array |
Array.create(Value firstValue,
Value secondValue,
Value... additionalValues) |
static Array |
Array.createWithNulls(int number) |
Array |
ArraySerdes.deserialize(String topic,
byte[] data) |
default Array |
Array.expand(int desiredSize)
If the current size of the array is smaller than the given size, expand it and use a null value for all new entries.
|
default Array |
Array.expand(int desiredSize,
boolean value)
If the current size of the array is smaller than the given size, expand it and use the supplied value for all new entries.
|
default Array |
Array.expand(int desiredSize,
double value)
If the current size of the array is smaller than the given size, expand it and use the supplied value for all new entries.
|
default Array |
Array.expand(int desiredSize,
float value)
If the current size of the array is smaller than the given size, expand it and use the supplied value for all new entries.
|
default Array |
Array.expand(int desiredSize,
int value)
If the current size of the array is smaller than the given size, expand it and use the supplied value for all new entries.
|
default Array |
Array.expand(int desiredSize,
long value)
If the current size of the array is smaller than the given size, expand it and use the supplied value for all new entries.
|
default Array |
Array.expand(int desiredSize,
String value)
If the current size of the array is smaller than the given size, expand it and use the supplied value for all new entries.
|
Array |
BasicArray.expand(int desiredSize,
Value value) |
Array |
Array.expand(int desiredSize,
Value value)
If the current size of the array is smaller than the given size, expand it and use the supplied value for all new entries.
|
default Array |
Document.getArray(CharSequence fieldName)
Get the array value in this document for the given field name.
|
default Array |
Document.getArray(CharSequence fieldName,
Array defaultValue)
Get the array value in this document for the given field name.
|
default Array |
Document.getOrCreateArray(CharSequence fieldName)
Get the existing array value in this document for the given field name, or create a new array if there is no existing array
at this field.
|
default Array |
Array.increment(int index,
double increment)
Increment the numeric value at the given location by the designated amount.
|
default Array |
Array.increment(int index,
float increment)
Increment the numeric value at the given location by the designated amount.
|
default Array |
Array.increment(int index,
int increment)
Increment the numeric value at the given location by the designated amount.
|
default Array |
Array.increment(int index,
long increment)
Increment the numeric value at the given location by the designated amount.
|
Array |
BasicArray.increment(int index,
Value increment) |
Array |
Array.increment(int index,
Value increment)
Increment the numeric value at the given location by the designated amount.
|
private Array |
JacksonReader.parseArray(com.fasterxml.jackson.core.JsonParser parser,
boolean nested) |
default Array |
Array.putAll(Iterable<Array.Entry> entries)
Sets on this object all key/value pairs from the supplied map.
|
default Array |
ArrayReader.readArray(byte[] rawBytes)
Read an array from the supplied bytes.
|
Array |
JacksonReader.readArray(File jsonFile) |
default Array |
ArrayReader.readArray(File jsonFile)
Read an array from the supplied file.
|
Array |
JacksonReader.readArray(InputStream jsonStream) |
Array |
ArrayReader.readArray(InputStream jsonStream)
Read an array from the supplied stream.
|
Array |
JacksonReader.readArray(Reader jsonReader) |
Array |
ArrayReader.readArray(Reader jsonReader)
Read an array from the supplied
Reader. |
Array |
JacksonReader.readArray(String jsonArray) |
Array |
ArrayReader.readArray(String json)
Read an array from the supplied JSON-formatted string.
|
Array |
JacksonReader.readArray(URL jsonUrl) |
default Array |
ArrayReader.readArray(URL jsonUrl)
Read an array from the content at the given URL.
|
Array |
BasicArray.removeAll() |
Array |
Array.removeAll()
Remove all entries from this array.
|
default Array |
Document.setArray(CharSequence name)
Set the value for the field with the given name to be a new, empty array.
|
default Array |
Document.setArray(CharSequence name,
Array array)
Set the value for the field with the given name to be the supplied array.
|
default Array |
Document.setArray(CharSequence name,
Object... values)
Set the value for the field with the given name to be the supplied array.
|
default Array |
Array.setArray(int index)
Set the value for the field with the given name to be a new, empty array.
|
default Array |
Array.setArray(int index,
Array array)
Set the value for the field with the given name to be the supplied array.
|
default Array |
Array.setArray(int index,
Value... values)
Set the value for the field with the given name to be the supplied array.
|
default Array |
Array.setBinary(int index,
byte[] data)
Set the value for the field with the given name to be a binary value.
|
default Array |
Array.setBoolean(int index,
boolean value)
Set the value for the field with the given name to the supplied boolean value.
|
default Array |
Array.setNull(int index)
Set the value for the field with the given name to be a null value.
|
default Array |
Array.setNumber(int index,
BigDecimal value)
Set the value for the field with the given name to the supplied big integer value.
|
default Array |
Array.setNumber(int index,
BigInteger value)
Set the value for the field with the given name to the supplied big integer value.
|
default Array |
Array.setNumber(int index,
double value)
Set the value for the field with the given name to the supplied double value.
|
default Array |
Array.setNumber(int index,
float value)
Set the value for the field with the given name to the supplied float value.
|
default Array |
Array.setNumber(int index,
int value)
Set the value for the field with the given name to the supplied integer value.
|
default Array |
Array.setNumber(int index,
long value)
Set the value for the field with the given name to the supplied long value.
|
default Array |
Array.setString(int index,
String value)
Set the value for the field with the given name to the supplied string value.
|
Array |
BasicArray.setValue(int index,
Value value) |
Array |
Array.setValue(int index,
Value value)
Set the value for the field with the given name to be a value.
|
default Array |
Array.transform(BiFunction<Integer,Value,Value> transformer)
Transform all of the field values using the supplied
transformer function. |
| Modifier and Type | Method and Description |
|---|---|
default Array |
Array.add(Array value)
Adds the array value to the end of this array.
|
int |
BasicArray.compareTo(Array that) |
static Value |
Value.create(Array value) |
default Array |
Document.getArray(CharSequence fieldName,
Array defaultValue)
Get the array value in this document for the given field name.
|
byte[] |
ArraySerdes.serialize(String topic,
Array data) |
default Array |
Document.setArray(CharSequence name,
Array array)
Set the value for the field with the given name to be the supplied array.
|
default Array |
Array.setArray(int index,
Array array)
Set the value for the field with the given name to be the supplied array.
|
String |
JacksonWriter.write(Array array) |
String |
ArrayWriter.write(Array array)
Write the supplied array to a string using UTF-8.
|
void |
JacksonWriter.write(Array array,
OutputStream jsonStream) |
void |
ArrayWriter.write(Array array,
OutputStream jsonStream)
Write the supplied array to bytes using UTF-8.
|
void |
JacksonWriter.write(Array array,
Writer jsonWriter) |
void |
ArrayWriter.write(Array array,
Writer jsonWriter)
Write the supplied array to bytes using UTF-8.
|
protected void |
JacksonWriter.writeArray(Array array,
com.fasterxml.jackson.core.JsonGenerator generator) |
default byte[] |
ArrayWriter.writeAsBytes(Array array)
Write the supplied array to bytes using UTF-8.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
Value.ifArray(Consumer<Array> consumer)
If a value is an array, invoke the specified consumer with the value, otherwise do nothing.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.