Inheritance diagram for org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint:
Definition at line 41 of file FODBSodaConstraint.java.
Public Member Functions | ||||
FODBSodaConstraint (FODBSodaQuery query, int constraintId) | ||||
Constraint | and (Constraint with) | |||
links two Constraints for AND evaluation. | ||||
Constraint | or (Constraint with) | |||
links two Constraints for OR evaluation. | ||||
Constraint | equal () | |||
sets the evaluation mode to == . | ||||
Constraint | greater () | |||
sets the evaluation mode to > . | ||||
Constraint | smaller () | |||
sets the evaluation mode to < . | ||||
Constraint | identity () | |||
sets the evaluation mode to identity comparison. | ||||
Constraint | like () | |||
sets the evaluation mode to "like" comparison. | ||||
Constraint | distinct () | |||
return only object that are distinct for this constraint. | ||||
Constraint | contains () | |||
sets the evaluation mode to containment comparison. | ||||
Constraint | not () | |||
turns on not() comparison. | ||||
Object | getObject () | |||
returns the Object the query graph was constrained with to create this Constraint. | ||||
int | getConstraintId () | |||
| ||||
boolean | equals (Object con) | |||
Protected Member Functions | ||||
void | execute (LongArray longArray) throws FODBException | |||
Package Functions | ||||
void | setIndex (FODBSodaIndexPath index) | |||
String | getIndexMember () | |||
boolean | setOperand (Object ope) | |||
boolean | addComparator (int ope) | |||
boolean | hasIndex () | |||
boolean | isHasOperande () | |||
| ||||
void | setHasOperande (boolean b) | |||
| ||||
Package Attributes | ||||
boolean | hasOperande = false |
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.and | ( | Constraint | with | ) |
links two Constraints for AND evaluation.
with | the other Constraint |
Implements org.odbms.Constraint.
Definition at line 102 of file FODBSodaConstraint.java.
References org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaIndexPath.getIndexComparator(), org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.getIndexMember(), org.openmobileis.database.fastobjectdb.db.query.soda.BaseConstraint.getNextConstraint(), org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.indexpath, org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaIndexPath.mergeIndexComporator(), org.openmobileis.database.fastobjectdb.db.query.soda.BaseConstraint.nextContraintLink, and org.openmobileis.database.fastobjectdb.db.query.soda.BaseConstraint.setNextConstraint().
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.or | ( | Constraint | with | ) |
links two Constraints for OR evaluation.
with | the other Constraint |
Implements org.odbms.Constraint.
Definition at line 118 of file FODBSodaConstraint.java.
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.equal | ( | ) |
sets the evaluation mode to ==
.
Implements org.odbms.Constraint.
Definition at line 125 of file FODBSodaConstraint.java.
References org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.addComparator().
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.greater | ( | ) |
sets the evaluation mode to >
.
Implements org.odbms.Constraint.
Definition at line 133 of file FODBSodaConstraint.java.
References org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.addComparator().
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.smaller | ( | ) |
sets the evaluation mode to <
.
Implements org.odbms.Constraint.
Definition at line 141 of file FODBSodaConstraint.java.
References org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.addComparator().
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.identity | ( | ) |
sets the evaluation mode to identity comparison.
Implements org.odbms.Constraint.
Definition at line 149 of file FODBSodaConstraint.java.
References org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.addComparator().
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.like | ( | ) |
sets the evaluation mode to "like" comparison.
Implements org.odbms.Constraint.
Definition at line 157 of file FODBSodaConstraint.java.
References org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.addComparator().
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.distinct | ( | ) |
return only object that are distinct for this constraint.
If two object has the same value, only the first on is return.
Implements org.odbms.Constraint.
Definition at line 167 of file FODBSodaConstraint.java.
References org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.addComparator().
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.contains | ( | ) |
sets the evaluation mode to containment comparison.
Evaluation is dependant on the constrained query node:
String
Implements org.odbms.Constraint.
Definition at line 175 of file FODBSodaConstraint.java.
References org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.addComparator().
Constraint org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.not | ( | ) |
turns on not() comparison.
Implements org.odbms.Constraint.
Definition at line 183 of file FODBSodaConstraint.java.
References org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.addComparator().
Object org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaConstraint.getObject | ( | ) |
returns the Object the query graph was constrained with to create this Constraint.
Implements org.odbms.Constraint.
Definition at line 191 of file FODBSodaConstraint.java.