com.db4o.query
Interface Evaluation
- All Superinterfaces:
- java.io.Serializable
- public interface Evaluation
- extends java.io.Serializable
for implementation of callback evaluations.
To constrain a Query node with your own callback
Evaluation, construct an object that implements the
Evaluation interface and register it by passing it
to Query#constrain(Object).
Evaluations are called as the last step during query execution,
after all other constraints have been applied. Evaluations in higher
level Query nodes in the query graph are called first.
|
Method Summary |
void |
evaluate(Candidate candidate)
callback method during {@linkplain Query#execute query execution}. |
evaluate
public void evaluate(Candidate candidate)
- callback method during {@linkplain Query#execute query execution}.
- Parameters:
Candidate - reference to the candidate persistent object.