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.2 PredicateOperand

PredicateOperand represents a column or parameter that can be compared to another

4.3.3.2.1 Synopsis
 public interface PredicateOperand {
// Public Methods public abstract Predicate between(PredicateOperand lower,
PredicateOperand upper);

public abstract Predicate equal(PredicateOperand other);
public abstract Predicate greaterEqual(PredicateOperand other);
public abstract Predicate greaterThan(PredicateOperand other);
public abstract Predicate in(PredicateOperand other);
public abstract Predicate isNotNull();
public abstract Predicate isNull();
public abstract Predicate lessEqual(PredicateOperand other);
public abstract Predicate lessThan(PredicateOperand other);
public abstract Predicate like(PredicateOperand other);
}

Figure 4.37 PredicateOperand Class

PredicateOperand Class

4.3.3.2.2 between(PredicateOperand, PredicateOperand)
public abstract Predicate between(PredicateOperand lower,
PredicateOperand upper);

Return a Predicate representing comparing this to another using "between" semantics.

Parameters

lower

another PredicateOperand

upper

another PredicateOperand

return

a new Predicate

4.3.3.2.3 equal(PredicateOperand)
public abstract Predicate equal(PredicateOperand other);

Return a Predicate representing comparing this to another using "equal to" semantics.

Parameters

other

the other PredicateOperand

return

a new Predicate

4.3.3.2.4 greaterEqual(PredicateOperand)
public abstract Predicate greaterEqual(PredicateOperand other);

Return a Predicate representing comparing this to another using "greater than or equal to" semantics.

Parameters

other

the other PredicateOperand

return

a new Predicate

4.3.3.2.5 greaterThan(PredicateOperand)
public abstract Predicate greaterThan(PredicateOperand other);

Return a Predicate representing comparing this to another using "greater than" semantics.

Parameters

other

the other PredicateOperand

return

a new Predicate

4.3.3.2.6 in(PredicateOperand)
public abstract Predicate in(PredicateOperand other);

Return a Predicate representing comparing this to a collection of values using "in" semantics.

Parameters

other

another PredicateOperand

return

a new Predicate

4.3.3.2.7 isNotNull()
public abstract Predicate isNotNull();

Return a Predicate representing comparing this to not null.

Parameters

return

a new Predicate

4.3.3.2.8 isNull()
public abstract Predicate isNull();

Return a Predicate representing comparing this to null.

Parameters

return

a new Predicate

4.3.3.2.9 lessEqual(PredicateOperand)
public abstract Predicate lessEqual(PredicateOperand other);

Return a Predicate representing comparing this to another using "less than or equal to" semantics.

Parameters

other

the other PredicateOperand

return

a new Predicate

4.3.3.2.10 lessThan(PredicateOperand)
public abstract Predicate lessThan(PredicateOperand other);

Return a Predicate representing comparing this to another using "less than" semantics.

Parameters

other

the other PredicateOperand

return

a new Predicate

4.3.3.2.11 like(PredicateOperand)
public abstract Predicate like(PredicateOperand other);

Return a Predicate representing comparing this to another using "like" semantics.

Parameters

other

another PredicateOperand

return

a new Predicate


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