Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

4.3.3.1 Predicate

Used to combine multiple predicates with boolean operations.

4.3.3.1.1 Synopsis
 public interface Predicate {
// Public Methods  public abstract Predicate and(Predicate predicate);
  public abstract Predicate not();
  public abstract Predicate or(Predicate predicate);
}
4.3.3.1.2 and(Predicate)
public abstract Predicate and(Predicate predicate);

Combine this Predicate with another, using the "and" semantic.

Table 4.98 and(Predicate)

Parameter Description
predicate the other predicate
return a new Predicate combining both Predicates

4.3.3.1.3 not()
public abstract Predicate not();

Negate this Predicate.

Table 4.99 not()

Parameter Description
return this predicate

4.3.3.1.4 or(Predicate)
public abstract Predicate or(Predicate predicate);

Combine this Predicate with another, using the "or" semantic.

Table 4.100 or(Predicate)

Parameter Description
predicate the other predicate
return a new Predicate combining both Predicates


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.