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 Detail

      • apply

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