public static final class SchemaCompatibility.SchemaPairCompatibility extends Object
Constructor and Description |
---|
SchemaCompatibility.SchemaPairCompatibility(SchemaCompatibility.SchemaCompatibilityType type,
Schema reader,
Schema writer,
String description)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getDescription()
Gets a human readable description of this validation result.
|
Schema |
getReader()
Gets the reader schema that was validated.
|
SchemaCompatibility.SchemaCompatibilityType |
getType()
Gets the type of this result.
|
Schema |
getWriter()
Gets the writer schema that was validated.
|
int |
hashCode() |
String |
toString() |
public SchemaCompatibility.SchemaPairCompatibility(SchemaCompatibility.SchemaCompatibilityType type, Schema reader, Schema writer, String description)
type
- of the schema compatibility.reader
- schema that was validated.writer
- schema that was validated.description
- of this compatibility result.public SchemaCompatibility.SchemaCompatibilityType getType()
public Schema getReader()
public Schema getWriter()
public String getDescription()
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.