| Package | Description |
|---|---|
| io.debezium.config | |
| io.debezium.jdbc | |
| io.debezium.relational.history |
| Modifier and Type | Method and Description |
|---|---|
static Field |
Field.create(String name)
Create an immutable
Field instance with the given property name. |
static Field |
Field.create(String name,
String description)
Create an immutable
Field instance with the given property name and description. |
static Field |
Field.create(String name,
String description,
boolean defaultValue)
Create an immutable
Field instance with the given property name, description, and default value. |
static Field |
Field.create(String name,
String description,
BooleanSupplier defaultValueGenerator)
Create an immutable
Field instance with the given property name, description, and default value. |
static Field |
Field.create(String name,
String description,
int defaultValue)
Create an immutable
Field instance with the given property name, description, and default value. |
static Field |
Field.create(String name,
String description,
IntSupplier defaultValueGenerator)
Create an immutable
Field instance with the given property name, description, and default value. |
static Field |
Field.create(String name,
String description,
long defaultValue)
Create an immutable
Field instance with the given property name, description, and default value. |
static Field |
Field.create(String name,
String description,
LongSupplier defaultValueGenerator)
Create an immutable
Field instance with the given property name, description, and default value. |
static Field |
Field.create(String name,
String description,
String defaultValue)
Create an immutable
Field instance with the given property name, description, and default value. |
static Field |
Field.create(String name,
String description,
Supplier<String> defaultValueGenerator)
Create an immutable
Field instance with the given property name, description, and default value. |
Field |
Field.withDefault(boolean defaultValue)
Create and return a new Field instance that is a copy of this field but with the given default value.
|
Field |
Field.withDefault(BooleanSupplier defaultValueGenerator)
Create and return a new Field instance that is a copy of this field but with the given default value.
|
Field |
Field.withDefault(int defaultValue)
Create and return a new Field instance that is a copy of this field but with the given default value.
|
Field |
Field.withDefault(IntSupplier defaultValueGenerator)
Create and return a new Field instance that is a copy of this field but with the given default value.
|
Field |
Field.withDefault(long defaultValue)
Create and return a new Field instance that is a copy of this field but with the given default value.
|
Field |
Field.withDefault(LongSupplier defaultValueGenerator)
Create and return a new Field instance that is a copy of this field but with the given default value.
|
Field |
Field.withDefault(String defaultValue)
Create and return a new Field instance that is a copy of this field but with the given default value.
|
Field |
Field.withDescription(String description)
Create and return a new Field instance that is a copy of this field but with the given description.
|
Field |
Field.withNoValidation()
Create and return a new Field instance that is a copy of this field but that uses no validation.
|
Field |
Field.withValidation(Field.Validator... validators)
Create and return a new Field instance that is a copy of this field but that uses the supplied validation function during
validate(Configuration, Consumer). |
Field |
Field.withValidation(Function<String,?>... conversionCheck)
Create and return a new Field instance that is a copy of this field but that uses the supplied conversion check function
during
validate(Configuration, Consumer). |
Field |
Field.withValidation(Predicate<String>... predicates)
Create and return a new Field instance that that is a copy of this field but that uses the supplied predicate during
validate(Configuration, Consumer). |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
Configuration.getBoolean(Field field)
Get the boolean value associated with the given field when that field has a default value.
|
default boolean |
Configuration.getBoolean(Field field,
boolean defaultValue)
Get the boolean value associated with the given field, returning the field's default value if there is no such
key-value pair.
|
default Boolean |
Configuration.getBoolean(Field field,
BooleanSupplier defaultValueSupplier)
Get the boolean value associated with the given key, using the given supplier to obtain a default value if there is no such
key-value pair.
|
default <T> T |
Configuration.getInstance(Field field,
Class<T> clazz)
Get an instance of the class given by the value in the configuration associated with the given field.
|
default <T> T |
Configuration.getInstance(Field field,
Class<T> type,
Supplier<ClassLoader> classloaderSupplier)
Get an instance of the class given by the value in the configuration associated with the given field.
|
default int |
Configuration.getInteger(Field field)
Get the integer value associated with the given field, returning the field's default value if there is no such
key-value pair.
|
default int |
Configuration.getInteger(Field field,
int defaultValue)
Get the integer value associated with the given field, returning the field's default value if there is no such
key-value pair.
|
default Integer |
Configuration.getInteger(Field field,
IntSupplier defaultValueSupplier)
Get the integer value associated with the given key, using the given supplier to obtain a default value if there is no such
key-value pair.
|
default long |
Configuration.getLong(Field field)
Get the long value associated with the given field, returning the field's default value if there is no such
key-value pair.
|
default long |
Configuration.getLong(Field field,
long defaultValue)
Get the long value associated with the given field, returning the field's default value if there is no such
key-value pair.
|
default Long |
Configuration.getLong(Field field,
LongSupplier defaultValueSupplier)
Get the long value associated with the given key, using the given supplier to obtain a default value if there is no such
key-value pair.
|
default String |
Configuration.getString(Field field)
Get the string value associated with the given field, returning the field's default value if there is no such key-value
pair in this configuration.
|
default String |
Configuration.getString(Field field,
String defaultValue)
Get the string value associated with the given field, returning the field's default value if there is no such key-value
pair in this configuration.
|
default String |
Configuration.getString(Field field,
Supplier<String> defaultValueSupplier)
Get the boolean value associated with the given key, using the given supplier to obtain a default value if there is no such
key-value pair.
|
static int |
Field.isBoolean(Configuration config,
Field field,
Consumer<String> problems) |
static int |
Field.isClassName(Configuration config,
Field field,
Consumer<String> problems) |
static int |
Field.isInteger(Configuration config,
Field field,
Consumer<String> problems) |
static int |
Field.isLong(Configuration config,
Field field,
Consumer<String> problems) |
static int |
Field.isNonNegativeInteger(Configuration config,
Field field,
Consumer<String> problems) |
static int |
Field.isNonNegativeLong(Configuration config,
Field field,
Consumer<String> problems) |
static int |
Field.isPositiveInteger(Configuration config,
Field field,
Consumer<String> problems) |
static int |
Field.isPositiveLong(Configuration config,
Field field,
Consumer<String> problems) |
static int |
Field.isRequired(Configuration config,
Field field,
Consumer<String> problems) |
int |
Field.Validator.validate(Configuration config,
Field field,
Consumer<String> problems)
Validate the supplied value for the field, and report any problems to the designated consumer.
|
default boolean |
Configuration.validate(Field[] fields,
Consumer<String> problems)
Validate the supplied fields in this configuration.
|
default B |
Configuration.ConfigBuilder.with(Field field,
boolean value)
Associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.with(Field field,
Class<?> value)
Associate the given class name value with the specified field.
|
default B |
Configuration.ConfigBuilder.with(Field field,
double value)
Associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.with(Field field,
float value)
Associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.with(Field field,
int value)
Associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.with(Field field,
long value)
Associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.with(Field field,
Object value)
Associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.with(Field field,
String value)
Associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.withDefault(Field field,
boolean value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.withDefault(Field field,
Class<?> value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.withDefault(Field field,
double value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.withDefault(Field field,
float value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.withDefault(Field field,
int value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.withDefault(Field field,
long value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.withDefault(Field field,
Object value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
Configuration.ConfigBuilder.withDefault(Field field,
String value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
Configuration.validate(Iterable<Field> fields,
Consumer<String> problems)
Validate the supplied fields in this configuration.
|
| Modifier and Type | Field and Description |
|---|---|
static Field |
JdbcConfiguration.DATABASE
A field for the name of the database.
|
static Field |
JdbcConfiguration.HOSTNAME
A field for the hostname of the database server.
|
static Field |
JdbcConfiguration.PASSWORD
A field for the password of the database.
|
static Field |
JdbcConfiguration.PORT
A field for the port of the database server.
|
static Field |
JdbcConfiguration.USER
A field for the user of the database.
|
| Modifier and Type | Method and Description |
|---|---|
private static Field[] |
JdbcConnection.combineVariables(Field[] overriddenVariables,
Field... defaultVariables) |
| Modifier and Type | Method and Description |
|---|---|
private static Field[] |
JdbcConnection.combineVariables(Field[] overriddenVariables,
Field... defaultVariables) |
private static Field[] |
JdbcConnection.combineVariables(Field[] overriddenVariables,
Field... defaultVariables) |
private static String |
JdbcConnection.findAndReplace(String url,
Properties props,
Field... variables) |
static JdbcConnection.ConnectionFactory |
JdbcConnection.patternBasedFactory(String urlPattern,
Field... variables)
Create a
JdbcConnection.ConnectionFactory that replaces variables in the supplied URL pattern. |
| Modifier and Type | Field and Description |
|---|---|
static Field |
KafkaDatabaseHistory.BOOTSTRAP_SERVERS |
static Field |
FileDatabaseHistory.FILE_PATH |
static Field |
KafkaDatabaseHistory.RECOVERY_POLL_ATTEMPTS |
static Field |
KafkaDatabaseHistory.RECOVERY_POLL_INTERVAL_MS |
static Field |
KafkaDatabaseHistory.TOPIC |
| Modifier and Type | Field and Description |
|---|---|
static Collection<Field> |
KafkaDatabaseHistory.ALL_FIELDS |
static Collection<Field> |
FileDatabaseHistory.ALL_FIELDS |
Copyright © 2016 JBoss by Red Hat. All rights reserved.