Class Equal

java.lang.Object
io.deephaven.kv.Equal
All Implemented Interfaces:
Condition

public final class Equal extends Object implements Condition
A condition which evaluates to true iff the KeyValue.getValue() at getPath() is exactly equal to getValue().
  • Method Details

    • of

      public static Equal of(@NotNull @NotNull KeyPath path, @NotNull @org.jetbrains.annotations.NotNull byte[] value)
    • getPath

      public KeyPath getPath()
    • getValue

      public byte[] getValue()
    • traverse

      public void traverse(@NotNull @NotNull ConditionVisitor visitor)
      Description copied from interface: Condition
      Invokes the appropriately typed ConditionVisitor method that corresponds to the concrete type of this Condition.

      Thus, all implementations are essentially visitor.visit((ConcreteType)this).

      Specified by:
      traverse in interface Condition
      Parameters:
      visitor - the visitor
    • describe

      public String describe()
      Specified by:
      describe in interface Condition