Package com.linkedin.venice.schema.avro
Class SchemaCompatibility19.Incompatibility
java.lang.Object
com.linkedin.venice.schema.avro.SchemaCompatibility19.Incompatibility
- Enclosing class:
- SchemaCompatibility19
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns a JSON Pointer describing the node location within the schema's JSON document tree where the incompatibility was encountered.Returns a human-readable message with more details about what failed.org.apache.avro.Schema
Returns the fragment of the reader schema that failed compatibility check.getType()
Returns the SchemaIncompatibilityType.org.apache.avro.Schema
Returns the fragment of the writer schema that failed compatibility check.int
hashCode()
toString()
-
Method Details
-
getType
Returns the SchemaIncompatibilityType.- Returns:
- a SchemaIncompatibilityType instance.
-
getReaderFragment
public org.apache.avro.Schema getReaderFragment()Returns the fragment of the reader schema that failed compatibility check.- Returns:
- a Schema instance (fragment of the reader schema).
-
getWriterFragment
public org.apache.avro.Schema getWriterFragment()Returns the fragment of the writer schema that failed compatibility check.- Returns:
- a Schema instance (fragment of the writer schema).
-
getMessage
Returns a human-readable message with more details about what failed. Syntax depends on the SchemaIncompatibilityType.- Returns:
- a String with details about the incompatibility.
- See Also:
-
getLocation
Returns a JSON Pointer describing the node location within the schema's JSON document tree where the incompatibility was encountered.- Returns:
- JSON Pointer encoded as a string.
-
hashCode
public int hashCode() -
equals
-
toString
-