JavaScript is disabled on your browser.
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods
anyOf (float... expectedValues)
equalTo (float expectedValue,
float epsilon)
boolean
default boolean
default boolean
Checks if this predicate is compatible with the given Avro schema type.
Method Details
isCompatibleWithSchema
default boolean isCompatibleWithSchema (org.apache.avro.Schema schema)
Checks if this predicate is compatible with the given Avro schema type.
This method should be implemented by each predicate type to provide
type-specific compatibility logic.
Specified by:
isCompatibleWithSchema
in interface Predicate <Float >
Parameters:
schema
- The Avro schema to check compatibility against
Returns:
true if this predicate is compatible with the schema type