Package datomic

Interface Database.Predicate<T>

Type Parameters:
T - Datom type
Enclosing interface:
Database

public static interface Database.Predicate<T>
Boolean-valued function for filtering a database.
Since:
0.8.3627
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(Database db, T val)
    Database-filtering predicate.
  • Method Details

    • apply

      boolean apply(Database db, T val)
      Database-filtering predicate.
      Parameters:
      db - a Database
      val - a Datom
      Returns:
      true if datom matches the predicate.