MySQL NDB Cluster API Developer Guide
PredicateOperand represents a column or parameter that can be compared to another
public interface PredicateOperand {
// Public Methodspublic 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);
}
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 |
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 |
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 |
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 |
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 |
public abstract Predicate isNotNull();
Return a Predicate representing comparing this to not null.
public abstract Predicate isNull();
Return a Predicate representing comparing this to null.
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 |