Documentation Home
MySQL NDB Cluster API Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 3.6Mb
PDF (A4) - 3.6Mb


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