Package | Description |
---|---|
org.apache.avro |
Avro kernel classes.
|
Modifier and Type | Method and Description |
---|---|
static SchemaCompatibility.SchemaCompatibilityResult |
SchemaCompatibility.SchemaCompatibilityResult.compatible()
Returns a details object representing a compatible schema pair.
|
SchemaCompatibility.SchemaCompatibilityResult |
SchemaCompatibility.SchemaPairCompatibility.getResult()
Gets more details about the compatibility, in particular if getType() is
INCOMPATIBLE.
|
static SchemaCompatibility.SchemaCompatibilityResult |
SchemaCompatibility.SchemaCompatibilityResult.incompatible(SchemaCompatibility.SchemaIncompatibilityType incompatibilityType,
Schema readerFragment,
Schema writerFragment,
String message,
List<String> location)
Returns a details object representing an incompatible schema pair, including
error details.
|
SchemaCompatibility.SchemaCompatibilityResult |
SchemaCompatibility.SchemaCompatibilityResult.mergedWith(SchemaCompatibility.SchemaCompatibilityResult toMerge)
Merges the current
SchemaCompatibilityResult with the supplied result
into a new instance, combining the list of
Incompatibility Incompatibilities and regressing to the
SchemaCompatibilityType#INCOMPATIBLE INCOMPATIBLE state if any
incompatibilities are encountered. |
static SchemaCompatibility.SchemaCompatibilityResult |
SchemaCompatibility.SchemaCompatibilityResult.recursionInProgress()
Returns a details object representing a state indicating that recursion is in
progress.
|
Modifier and Type | Method and Description |
---|---|
SchemaCompatibility.SchemaCompatibilityResult |
SchemaCompatibility.SchemaCompatibilityResult.mergedWith(SchemaCompatibility.SchemaCompatibilityResult toMerge)
Merges the current
SchemaCompatibilityResult with the supplied result
into a new instance, combining the list of
Incompatibility Incompatibilities and regressing to the
SchemaCompatibilityType#INCOMPATIBLE INCOMPATIBLE state if any
incompatibilities are encountered. |
Constructor and Description |
---|
SchemaPairCompatibility(SchemaCompatibility.SchemaCompatibilityResult result,
Schema reader,
Schema writer,
String description)
Constructs a new instance.
|
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.