Interface KeyValuePairVisitor<KeyType extends DbKey,ValueType extends DbValue>

Type Parameters:
KeyType - the type of the key
ValueType - the type of the value
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface KeyValuePairVisitor<KeyType extends DbKey,ValueType extends DbValue>
Represents an function that accepts a zeebe key value pair and produces an primitive boolean as result.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    visit(KeyType key, ValueType value)
    Visits the zeebe key value pair.
  • Method Details

    • visit

      boolean visit(KeyType key, ValueType value)
      Visits the zeebe key value pair. The result indicates whether it should visit more key-value pairs or not.
      Parameters:
      key - the key
      value - the value
      Returns:
      true if the visiting should continue, false otherwise