| Package | Description |
|---|---|
| io.debezium.document |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
BinaryValue
A specialization of
Value that represents a binary value. |
(package private) class |
ComparableValue
|
(package private) class |
ConvertingValue
|
(package private) class |
NullValue
A specialization of
Value that represents a null value. |
| Modifier and Type | Field and Description |
|---|---|
static Value |
NullValue.INSTANCE |
private Value |
ConvertingValue.value |
private Value |
BasicField.value |
private Value |
BasicEntry.value |
| Modifier and Type | Field and Description |
|---|---|
(package private) static Function<Map.Entry<? extends CharSequence,Value>,Document.Field> |
BasicDocument.CONVERT_ENTRY_TO_FIELD |
private static BiFunction<Integer,Value,Array.Entry> |
BasicArray.CONVERT_PAIR_TO_ENTRY |
private Map<CharSequence,Value> |
BasicDocument.fields |
private List<Value> |
BasicArray.values |
| Modifier and Type | Method and Description |
|---|---|
Value |
Value.clone()
Obtain a clone of this value.
|
Value |
NullValue.clone() |
Value |
ConvertingValue.clone() |
Value |
ComparableValue.clone() |
Value |
BinaryValue.clone() |
default Value |
Value.comparable()
Get a Value representation that will allow semantic comparison of values, rather than the literal comparison normally
performed by
compareTo(io.debezium.document.Value, io.debezium.document.Value). |
Value |
Value.convert()
Get a Value representation that will convert attempt to convert values.
|
Value |
NullValue.convert() |
Value |
ConvertingValue.convert() |
Value |
ComparableValue.convert() |
Value |
BinaryValue.convert() |
static Value |
Value.create(Array value) |
static Value |
Value.create(BigDecimal value) |
static Value |
Value.create(BigInteger value) |
static Value |
Value.create(boolean value) |
static Value |
Value.create(byte[] value) |
static Value |
Value.create(Document value) |
static Value |
Value.create(double value) |
static Value |
Value.create(Double value) |
static Value |
Value.create(float value) |
static Value |
Value.create(Float value) |
static Value |
Value.create(int value) |
static Value |
Value.create(Integer value) |
static Value |
Value.create(long value) |
static Value |
Value.create(Long value) |
static Value |
Value.create(Object value) |
static Value |
Value.create(String value) |
default Value |
Document.get(CharSequence fieldName)
Gets the value in this document for the given field name.
|
Value |
Document.get(CharSequence fieldName,
Comparable<?> defaultValue)
Gets the value in this document for the given field name.
|
Value |
BasicDocument.get(CharSequence fieldName,
Comparable<?> defaultValue) |
Value |
BasicArray.get(int index) |
Value |
Array.get(int index)
Gets the value in this array at the given index.
|
default Value |
Array.get(int index,
Object defaultValue)
Gets the value in this document for the given field name.
|
Value |
Document.Field.getValue()
Get the value of the field.
|
Value |
BasicField.getValue() |
Value |
BasicEntry.getValue() |
Value |
Array.Entry.getValue()
Get the value of the entry.
|
static Value |
Value.nullValue() |
Value |
Document.remove(CharSequence name)
Remove the field with the supplied name, and return the value.
|
Value |
BasicDocument.remove(CharSequence name) |
Value |
BasicArray.remove(int index) |
Value |
Array.remove(int index)
Remove the specified entry from this array
|
default Value |
Document.remove(Optional<? extends CharSequence> name)
If the supplied name is provided, then remove the field with the supplied name and return the value.
|
| Modifier and Type | Method and Description |
|---|---|
default Optional<Value> |
Document.find(Path path)
Attempt to find the value at the given path.
|
default Optional<Value> |
Document.find(Path path,
BiFunction<Path,Integer,Optional<Value>> missingSegment,
Consumer<Path> invalid)
Attempt to find the value at the given path, optionally creating missing segments.
|
default Optional<Value> |
Document.set(Path path,
boolean addIntermediaries,
Value value,
Consumer<Path> invalid)
Set the value at the given path resolved against this document, optionally adding any missing intermediary documents
or arrays based upon the format of the path segments.
|
default Stream<Value> |
Array.streamValues()
Returns a sequential
Stream with this array as its source. |
Iterable<Value> |
BasicArray.values() |
default Iterable<Value> |
Array.values() |
| Modifier and Type | Method and Description |
|---|---|
Array |
BasicArray.add(Value value) |
Array |
Array.add(Value value)
Adds the value to the end of this array.
|
default Array |
Array.addAll(Value... values)
Sets on this object all name/value pairs from the supplied object.
|
protected int |
BasicDocument.compare(Value value1,
Value value2)
Semantically compare two values.
|
protected int |
BasicDocument.compareNonNull(Value value1,
Value value2)
Semantically compare two non-null values.
|
int |
NullValue.compareTo(Value that) |
int |
ConvertingValue.compareTo(Value that) |
int |
ComparableValue.compareTo(Value that) |
int |
BinaryValue.compareTo(Value that) |
static int |
Value.compareTo(Value value1,
Value value2)
Compare two
Value objects, which may or may not be null. |
static Array |
Array.create(Value[] values) |
static Array |
Array.create(Value firstValue,
Value secondValue,
Value... additionalValues) |
static Array |
Array.create(Value firstValue,
Value secondValue,
Value... additionalValues) |
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.
|
static Document.Field |
Document.field(String name,
Value value) |
Document |
Document.increment(CharSequence name,
Value increment)
Increment the numeric value in the given field by the designated amount.
|
Document |
BasicDocument.increment(CharSequence name,
Value increment) |
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.
|
static boolean |
Value.isNull(Value value) |
static boolean |
Value.notNull(Value value) |
default Optional<Value> |
Document.set(Path path,
boolean addIntermediaries,
Value value,
Consumer<Path> invalid)
Set the value at the given path resolved against this document, optionally adding any missing intermediary documents
or arrays based upon the format of the path segments.
|
default Array |
Array.setArray(int index,
Value... values)
Set the value for the field with the given name to be the supplied array.
|
Document |
Document.setValue(CharSequence name,
Value value)
Set the value for the field with the given name.
|
Document |
BasicDocument.setValue(CharSequence name,
Value 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.
|
(package private) static Value.Type |
ComparableValue.typeForValue(Value value) |
protected void |
JacksonWriter.writeValue(Value value,
com.fasterxml.jackson.core.JsonGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
default Array |
Array.addAll(Iterable<Value> 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.
|
static Array |
Array.create(List<Value> values) |
default Optional<Value> |
Document.find(Path path,
BiFunction<Path,Integer,Optional<Value>> missingSegment,
Consumer<Path> invalid)
Attempt to find the value at the given path, optionally creating missing segments.
|
default void |
Document.forEach(BiConsumer<Path,Value> consumer) |
default Document |
Document.transform(BiFunction<CharSequence,Value,Value> transformer)
Transform all of the field values using the supplied
transformer function. |
default Document |
Document.transform(BiFunction<CharSequence,Value,Value> transformer)
Transform all of the field values using the supplied
transformer function. |
default Array |
Array.transform(BiFunction<Integer,Value,Value> transformer)
Transform all of the field values using the supplied
transformer function. |
default Array |
Array.transform(BiFunction<Integer,Value,Value> transformer)
Transform all of the field values using the supplied
transformer function. |
| Constructor and Description |
|---|
BasicArray(Value[] values) |
BasicEntry(int index,
Value value) |
BasicField(CharSequence name,
Value value) |
ConvertingValue(Value value) |
| Constructor and Description |
|---|
BasicArray(List<Value> values) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.