JavaScript is disabled on your browser.
All Known Subinterfaces:
DoublePredicate
, FloatPredicate
, IntPredicate
, LongPredicate
All Known Implementing Classes:
AndPredicate
, AnyOfPredicate
, CompositePredicate
, DoubleAnyOfPredicate
, DoubleEqualsPredicate
, DoubleGreaterOrEqualsPredicate
, DoubleGreaterThanPredicate
, DoubleLowerOrEqualsPredicate
, DoubleLowerThanPredicate
, EqualsPredicate
, FloatAnyOfPredicate
, FloatEqualsPredicate
, FloatGreaterOrEqualsPredicate
, FloatGreaterThanPredicate
, FloatLowerOrEqualsPredicate
, FloatLowerThanPredicate
, IntAnyOfPredicate
, IntEqualsPredicate
, IntGreaterOrEqualsPredicate
, IntGreaterThanPredicate
, IntLowerOrEqualsPredicate
, IntLowerThanPredicate
, LongAnyOfPredicate
, LongEqualsPredicate
, LongGreaterOrEqualsPredicate
, LongGreaterThanPredicate
, LongLowerOrEqualsPredicate
, LongLowerThanPredicate
, OrPredicate
, RecordFieldProjectionEqualsPredicate
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods
anyOf (T... expectedValues)
static Predicate <org.apache.avro.generic.GenericRecord>
boolean
default boolean
Checks if this predicate is compatible with the given Avro schema type.
Method Details
isCompatibleWithSchema
@Experimental
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.
Parameters:
schema
- The Avro schema to check compatibility against
Returns:
true if this predicate is compatible with the schema type