Uses of Class
io.debezium.config.Field
Packages that use Field
-
Uses of Field in io.debezium.config
Fields in io.debezium.config with type parameters of type FieldModifier and TypeFieldDescriptionConfigDefinition.connectorConfigDefinitionEditor.connectorConfigDefinition.eventsConfigDefinitionEditor.eventsField.Set.fieldsByNameConfigDefinition.historyConfigDefinitionEditor.historyConfigDefinition.typeConfigDefinitionEditor.typeMethods in io.debezium.config that return FieldModifier and TypeMethodDescriptionField[]Field.Set.asArray()Get the fields in this set as an array.static FieldCreate an immutableFieldinstance with the given property name.static FieldCreate an immutableFieldinstance with the given property name.static FieldCreate an immutableFieldinstance with the given property name and description.static FieldCreate an immutableFieldinstance with the given property name, description, and default value.static FieldCreate an immutableFieldinstance with the given property name, description, and default value.static FieldCreate an immutableFieldinstance with the given property name, description, and default value.static FieldCreate an immutableFieldinstance with the given property name, description, and default value.static FieldField.create(String name, String displayName, String description, BooleanSupplier defaultValueGenerator) Create an immutableFieldinstance with the given property name, description, and default value.static FieldField.create(String name, String displayName, String description, IntSupplier defaultValueGenerator) Create an immutableFieldinstance with the given property name, description, and default value.static FieldField.create(String name, String displayName, String description, LongSupplier defaultValueGenerator) Create an immutableFieldinstance with the given property name, description, and default value.static FieldField.create(String name, String displayName, String description, Supplier<Object> defaultValueGenerator) Create an immutableFieldinstance with the given property name, description, and default value.static FieldField.createInternal(String name) Create an immutable internalFieldinstance with the given property name.Field.Set.fieldWithName(String name) Get the field with the given {Field#name() name}.Field.optional()Field.required()(package private) FieldField.resolvePatterns(Set<String> allFieldNames) Package-private helper method to resolve pattern-based dependent field matchers into concrete field names.Field.withAllowedValues(Set<?> allowedValues) Field.withConfigDefValidation()Opt-in to having this field's validator passed to Kafka Connect's ConfigDef during Field.group().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.withDefault(int defaultValue) Create and return a new Field instance that is a copy of this field but with the given default value.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.withDefault(String defaultValue) Create and return a new Field instance that is a copy of this field but with the given default value.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.withDefault(IntSupplier defaultValueGenerator) Create and return a new Field instance that is a copy of this field but with the given default value.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.withDependents(String dependent) Create and return a new Field instance that is a copy of this field but with the given display name.Field.withDependents(String value, DependentFieldMatcher... matchers) Create and return a new Field instance that is a copy of this field but with dependent fields resolved using matchers.Field.withDependents(List<String> dependents) Create and return a new Field instance that is a copy of this field but with the given display name.Field.withDependents(List<String> values, DependentFieldMatcher... matchers) Create and return a new Field instance that is a copy of this field but with the same matchers associated with multiple parent field values.Field.withDeprecatedAliases(String... deprecatedAliases) Field.withDescription(String description) Create and return a new Field instance that is a copy of this field but with the given description.Field.withDisplayName(String displayName) Create and return a new Field instance that is a copy of this field but with the given display name.<T extends Enum<T> & EnumeratedValue>
FieldCreate and return a new Field instance that is a copy of this field but has atypeofSchema.Type.STRING, arecommenderthat returns a list ofEnum namesas valid values, and a validator that verifies values are valid enumeration names.<T extends Enum<T> & EnumeratedValue>
FieldCreate and return a new Field instance that is a copy of this field but has atypeofSchema.Type.STRING, arecommenderthat returns a list ofEnum namesas valid values, and a validator that verifies values are valid enumeration names.Field.withGroup(Field.GroupEntry group) Field.withImportance(org.apache.kafka.common.config.ConfigDef.Importance importance) Create and return a new Field instance that is a copy of this field but with the given importance.Field.withInvisibleRecommender()Field.withNoValidation()Create and return a new Field instance that is a copy of this field but that uses no validation.Field.withRecommender(Field.Recommender recommender) Create and return a new Field instance that is a copy of this field but with the given recommender.Field.withType(org.apache.kafka.common.config.ConfigDef.Type type) Create and return a new Field instance that is a copy of this field but with the given type.Field.withValidation(Field.Validator... validators) Create and return a new Field instance that is a copy of this field but that in addition toexisting validationthe supplied validation function(s) are also used.Field.withWidth(org.apache.kafka.common.config.ConfigDef.Width width) Create and return a new Field instance that is a copy of this field but with the given width.Methods in io.debezium.config that return types with arguments of type FieldModifier and TypeMethodDescriptionConfigDefinition.all()ConfigDefinition.connector()ConfigDefinition.events()Field.hasValueDependents()ConfigDefinition.history()Field.Set.iterator()ConfigDefinitionEditor.resolvePatterns(List<Field> fields, Set<String> allFieldNames) ConfigDefinition.type()Methods in io.debezium.config with parameters of type FieldModifier and TypeMethodDescriptionvoidAccept a problem with the given value for the field.Field.buildRecommender(String name, Field parentField, Object parentValue) default BConfiguration.ConfigBuilder.changeBoolean(Field field, Function<Boolean, Boolean> function) Apply the function to this builder to change a potentially existing boolean field.default BConfiguration.ConfigBuilder.changeDouble(Field field, Function<Double, Double> function) Apply the function to this builder to change a potentially existing double field.default BConfiguration.ConfigBuilder.changeFloat(Field field, Function<Float, Float> function) Apply the function to this builder to change a potentially existing float field.default BConfiguration.ConfigBuilder.changeInteger(Field field, Function<Integer, Integer> function) Apply the function to this builder to change a potentially existing integer field.default BConfiguration.ConfigBuilder.changeLong(Field field, Function<Long, Long> function) Apply the function to this builder to change a potentially existing long field.Configuration.Builder.changeString(Field field, Function<String, String> function) Configuration.ConfigBuilder.changeString(Field field, Function<String, String> function) Apply the function to this builder to change a potentially existing string field.private static org.apache.kafka.common.config.ConfigDef.ValidatorField.convertToKafkaValidator(Field field) Field.createRecommendersForDependents(Field parentField, Map.Entry<Object, List<String>> valueDependantEntry) static intField.deprecatedFieldWarning(Configuration config, Field field, Field.ValidationOutput problems) Removes the given fields from this configuration editor.default booleanConfiguration.getBoolean(Field field) Get the boolean value associated with the given field when that field has a default value.default booleanConfiguration.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 BooleanConfiguration.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 DurationConfiguration.getDuration(Field field, TemporalUnit unit) Gets the duration value associated with the given key.default <T> TConfiguration.getInstance(Field field, Class<T> type) Get an instance of the class given by the value in the configuration associated with the given field.default <T> TConfiguration.getInstance(Field field, Class<T> type, Configuration configuration) Get an instance of the class given by the value in the configuration associated with the given field.default <T> TConfiguration.getInstance(Field field, Class<T> type, Properties props) Get an instance of the class given by the value in the configuration associated with the given field.default intConfiguration.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 intConfiguration.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 IntegerConfiguration.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 <T> List<T> default longGet the long value associated with the given field, returning the field's default value if there is no such key-value pair.default longGet the long value associated with the given field, returning the field's default value if there is no such key-value pair.default LongConfiguration.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 NumberGet the numeric value associated with the given field, returning the field's default value if there is no such key-value pair.default StringGet 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 StringGet 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 StringGet the string value associated with the given key, using the given supplier to obtain a default value if there is no such key-value pair.Configuration.getStrings(Field field, String regex) Get the string value(s) associated with the given key, where the supplied regular expression is used to parse the single string value into multiple values.Configuration.getTrimmedStrings(Field field, String regex) Get the string value(s) associated with the given key, where the supplied regular expression is used to parse the single string value into multiple values.static org.apache.kafka.common.config.ConfigDefAdd this field to the given configuration definition.default booleanDetermine whether this configuration contains a key-value pair associated with the given field and the value is non-null.static intField.isBoolean(Configuration config, Field field, Field.ValidationOutput problems) static intField.isClassName(Configuration config, Field field, Field.ValidationOutput problems) static intField.isDouble(Configuration config, Field field, Field.ValidationOutput problems) static intField.isInteger(Configuration config, Field field, Field.ValidationOutput problems) static intField.isListOfMap(Configuration config, Field field, Field.ValidationOutput problems) static intField.isListOfRegex(Configuration config, Field field, Field.ValidationOutput problems) static intField.isLong(Configuration config, Field field, Field.ValidationOutput problems) static intField.isNonNegativeInteger(Configuration config, Field field, Field.ValidationOutput problems) static intField.isNonNegativeLong(Configuration config, Field field, Field.ValidationOutput problems) static intField.isOptional(Configuration config, Field field, Field.ValidationOutput problems) static intField.isPositiveInteger(Configuration config, Field field, Field.ValidationOutput problems) static intField.isPositiveLong(Configuration config, Field field, Field.ValidationOutput problems) static intField.isRegex(Configuration config, Field field, Field.ValidationOutput problems) static intField.isRequired(Configuration config, Field field, Field.ValidationOutput problems) static intField.isShort(Configuration config, Field field, Field.ValidationOutput problems) static intField.isZoneOffset(Configuration config, Field field, Field.ValidationOutput problems) static intField.notContainEmptyElements(Configuration config, Field field, Field.ValidationOutput problems) static intField.notContainSpaceInAnyElement(Configuration config, Field field, Field.ValidationOutput problems) static Field.SetCreate a set of fields.intField.EnumRecommender.validate(Configuration config, Field field, Field.ValidationOutput problems) intField.RangeValidator.validate(Configuration config, Field field, Field.ValidationOutput problems) intField.Validator.validate(Configuration config, Field field, Field.ValidationOutput problems) Validate the supplied value for the field, and report any problems to the designated consumer.private voidConfiguration.validateParentAndDependents(Field.Set fields, Field field, Map<String, String> currentConfiguration, Map<String, org.apache.kafka.common.config.ConfigValue> configValuesByFieldName) static StringField.validationOutput(Field field, String problem) Field.EnumRecommender.validValues(Field field, Configuration config) Field.InvisibleRecommender.validValues(Field field, Configuration config) Field.OneOfRecommender.validValues(Field field, Configuration config) Field.Recommender.validValues(Field field, Configuration config) Return a set of recommended (and valid) values for the field given the current configuration values.booleanField.EnumRecommender.visible(Field field, Configuration config) booleanField.InvisibleRecommender.visible(Field field, Configuration config) booleanField.OneOfRecommender.visible(Field field, Configuration config) booleanField.Recommender.visible(Field field, Configuration config) Set the visibility of the field given the current configuration values.default BAssociate the given value with the key of the specified field.default BAssociate the given value with the key of the specified field.default BAssociate the given value with the key of the specified field.default BAssociate the given value with the key of the specified field.default BAssociate the given value with the key of the specified field.default BConfiguration.ConfigBuilder.with(Field field, EnumeratedValue value) Associate the given value with the key of the specified field.default BAssociate the given class name value with the specified field.default BAssociate the given value with the key of the specified field.default BAssociate the given value with the key of the specified field.Get a new set that contains the fields in this set and those supplied.default BConfiguration.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 BConfiguration.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 BConfiguration.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 BConfiguration.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 BConfiguration.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 BConfiguration.ConfigBuilder.withDefault(Field field, EnumeratedValue value) If the field does not have a value, then associate the given value with the key of the specified field.default BConfiguration.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 BConfiguration.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 BConfiguration.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.Method parameters in io.debezium.config with type arguments of type FieldModifier and TypeMethodDescriptionprivate voidConfigDefinition.addToConfigDef(org.apache.kafka.common.config.ConfigDef configDef, String group, List<Field> fields) private voidField.buildRecommenders(List<Field> fieldsWithDependents) voidField.Set.forEachTopLevelField(Consumer<Field> consumer) Call the supplied function for each of this set's fields that are not included as dependents in other fields.ConfigDefinitionEditor.resolvePatterns(List<Field> fields, Set<String> allFieldNames) static Field.SetCreate a set of fields.default booleanConfiguration.validate(Iterable<Field> fields, Field.ValidationOutput problems) Validate the supplied fields in this configuration.protected voidField.validate(Configuration config, Function<String, Field> fieldSupplier, Map<String, org.apache.kafka.common.config.ConfigValue> results) Validate this field in the supplied configuration, updating theConfigValuefor the field with the results.default booleanConfiguration.validateAndRecord(Iterable<Field> fields, Consumer<String> problems) Validate the supplied fields in this configuration.Get a new set that contains the fields in this set and those supplied.Constructor parameters in io.debezium.config with type arguments of type Field