public static final class SchemaCompatibility.SchemaPairCompatibility extends Object
| Constructor and Description | 
|---|
SchemaPairCompatibility(SchemaCompatibility.SchemaCompatibilityResult result,
                       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.SchemaCompatibilityResult | 
getResult()
Gets more details about the compatibility, in particular if getType() is
 INCOMPATIBLE. 
 | 
SchemaCompatibility.SchemaCompatibilityType | 
getType()
Gets the type of this result. 
 | 
Schema | 
getWriter()
Gets the writer schema that was validated. 
 | 
int | 
hashCode() | 
String | 
toString() | 
public SchemaPairCompatibility(SchemaCompatibility.SchemaCompatibilityResult result, Schema reader, Schema writer, String description)
result - The result of the compatibility check.reader - schema that was validated.writer - schema that was validated.description - of this compatibility result.public SchemaCompatibility.SchemaCompatibilityType getType()
public SchemaCompatibility.SchemaCompatibilityResult getResult()
public Schema getReader()
public Schema getWriter()
public String getDescription()
Copyright © 2009–2019 The Apache Software Foundation. All rights reserved.