private Constraint addEvaluationToAllConstraints(QConEvaluation eval) { if (i_constraints.size() == 0) { _trans .container() .classCollection() .iterateTopLevelClasses( new Visitor4() { public void visit(Object obj) { ClassMetadata classMetadata = (ClassMetadata) obj; QConClass qcc = new QConClass(_trans, classMetadata.classReflector()); addConstraint(qcc); toConstraint(i_constraints).or(qcc); } }); } Iterator4 i = iterateConstraints(); while (i.moveNext()) { ((QCon) i.current()).addConstraint(eval); } // FIXME: should return valid Constraint object return null; }
public void captureQueryResultConfig() { final Config4Impl config = _trans.container().config(); _evaluationMode = config.evaluationMode(); _prefetchDepth = config.prefetchDepth(); _prefetchCount = config.prefetchObjectCount(); }
protected ObjectContainerBase stream() { return _trans.container(); }