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

Table 4.101 between(PredicateOperand, PredicateOperand)

Parameter Description
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.

Table 4.102 equal(PredicateOperand)

Parameter Description
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.

Table 4.103 greaterEqual(PredicateOperand)

Parameter Description
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.

Table 4.104 greaterThan(PredicateOperand)

Parameter Description
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.

Table 4.105 in(PredicateOperand)

Parameter Description
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.

Table 4.106 isNotNull()

Parameter Description
return a new Predicate

4.3.3.2.8 isNull()
public abstract Predicate isNull();

Return a Predicate representing comparing this to null.

Table 4.107 isNull()

Parameter Description
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.

Table 4.108 lessEqual(PredicateOperand)

Parameter Description
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.

Table 4.109 lessThan(PredicateOperand)

Parameter Description
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.

Table 4.110 like(PredicateOperand)

Parameter Description
other another PredicateOperand
return a new Predicate