Class EqualsPredicate<T>

java.lang.Object
com.linkedin.venice.client.store.predicate.EqualsPredicate<T>
All Implemented Interfaces:
Predicate<T>

public class EqualsPredicate<T> extends Object implements Predicate<T>
  • Method Details

    • evaluate

      public boolean evaluate(T value)
      Specified by:
      evaluate in interface Predicate<T>
    • isCompatibleWithSchema

      public boolean isCompatibleWithSchema(org.apache.avro.Schema schema)
      Description copied from interface: Predicate
      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<T>
      Parameters:
      schema - The Avro schema to check compatibility against
      Returns:
      true if this predicate is compatible with the schema type
    • toString

      public String toString()
      Overrides:
      toString in class Object