|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Evaluation
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 query execution. |
int |
getActivationDepth()
get activation depth for evaluation object. |
Method Detail |
---|
void evaluate(Candidate candidate)
Candidate
- reference to the candidate persistent object.int getActivationDepth()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |