com.tinkerpop.blueprints.Predicate Maven / Gradle / Ivy
package com.tinkerpop.blueprints;
/**
* A general interface for all enumerations that represent comparable operations.
*
* @author Marko A. Rodriguez (http://markorodriguez.com)
* @author Matthias Broecheler ([email protected])
*/
public interface Predicate {
/**
* If the underlying graph does not support the push-down predicate, then an in-memory evaluation can be done.
*
* @param first the left hand side of the predicate
* @param second the right hand side of the predicate
* @return the truth of the predicate given the two arguments
*/
public boolean evaluate(final Object first, final Object second);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy