Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 4.8Mb
PDF (A4) - 4.8Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.8Mb
HTML Download (Zip) - 1.9Mb


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);
}

Figure 4.36 Predicate Class

Predicate Class

4.3.3.1.2 and(Predicate)
public abstract Predicate and(Predicate predicate);

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

Parameters

predicate

the other predicate

return

a new Predicate combining both Predicates

4.3.3.1.3 not()
public abstract Predicate not();

Negate this Predicate.

Parameters

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.

Parameters

predicate

the other predicate

return

a new Predicate combining both Predicates


User Comments
Sign Up Login You must be logged in to post a comment.