| Package | Description |
|---|---|
| io.debezium.util |
| Modifier and Type | Method and Description |
|---|---|
default AvroValidator.ReplacementOccurred |
AvroValidator.ReplacementOccurred.andThen(AvroValidator.ReplacementOccurred next)
Create a new function that calls this function and then calls the next function.
|
default AvroValidator.ReplacementOccurred |
AvroValidator.ReplacementOccurred.firstTimeOnly()
Create a new function that calls this function only the first time it sees each unique original, and ignores
subsequent calls for originals it has already seen.
|
| Modifier and Type | Method and Description |
|---|---|
default AvroValidator.ReplacementOccurred |
AvroValidator.ReplacementOccurred.andThen(AvroValidator.ReplacementOccurred next)
Create a new function that calls this function and then calls the next function.
|
static AvroValidator |
AvroValidator.create(AvroValidator.ReplacementFunction function,
AvroValidator.ReplacementOccurred uponReplacement)
Create a stateful Avro fullname validator that calls the supplied
AvroValidator.ReplacementOccurred function when an invalid
fullname is seen and replaced with a valid fullname. |
static AvroValidator |
AvroValidator.create(AvroValidator.ReplacementOccurred uponReplacement)
Create a stateful Avro fullname validator that calls the supplied
AvroValidator.ReplacementOccurred function when an invalid
fullname is seen and replaced with a valid fullname. |
static AvroValidator |
AvroValidator.create(char replacement,
AvroValidator.ReplacementOccurred uponReplacement)
Create a stateful Avro fullname validator that calls the supplied
AvroValidator.ReplacementOccurred function when an invalid
fullname is seen and replaced with a valid fullname. |
static AvroValidator |
AvroValidator.create(org.slf4j.Logger logger,
AvroValidator.ReplacementOccurred uponConflict)
Create a stateful Avro fullname validator that logs a warning the first time an invalid fullname is seen and replaced
with a valid fullname.
|
static AvroValidator |
AvroValidator.create(String replacement,
AvroValidator.ReplacementOccurred uponReplacement)
Create a stateful Avro fullname validator that calls the supplied
AvroValidator.ReplacementOccurred function when an invalid
fullname is seen and replaced with a valid fullname. |
static String |
AvroValidator.validFullname(String proposedName,
AvroValidator.ReplacementFunction replacement,
AvroValidator.ReplacementOccurred uponReplacement)
Convert the proposed string to a valid Avro fullname, using the supplied function to replace all invalid characters.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.