public _IVisitor4_374(QQueryBase _enclosing, Collection4 executionPath, ObjectContainerBase stream, IdListQueryResult result) { this._enclosing = _enclosing; this.executionPath = executionPath; this.stream = stream; this.result = result; }
private Collection4 FieldPathFromTop() { QQueryBase q = this; Collection4 fieldPath = new Collection4(); while (q.i_parent != null) { fieldPath.Prepend(q.i_field); q = q.i_parent; } return(fieldPath); }
public override IQueryResult ClassOnlyQuery(QQueryBase query, ClassMetadata clazz ) { Transaction trans = query.Transaction(); long[] ids = GetIDsForClass(trans, clazz, true); ClientQueryResult resClient = new ClientQueryResult(trans, ids.Length); for (int i = 0; i < ids.Length; i++) { resClient.Add((int)ids[i]); } return resClient; }
public abstract IQueryResult ClassOnlyQuery(QQueryBase queryBase, ClassMetadata clazz );
public _IVisitor4_275(QQueryBase _enclosing) { this._enclosing = _enclosing; this.untypedFieldConstraintCollected = false; }
public _IClosure4_331(QQueryBase _enclosing) { this._enclosing = _enclosing; }
// cheat emulating '(QQuery)this' private static QQuery Cast(QQueryBase obj) { return((QQuery)obj); }
public _IVisitor4_139(QQueryBase _enclosing) { this._enclosing = _enclosing; }
public _IVisitor4_275(QQueryBase _enclosing) { this._enclosing = _enclosing; untypedFieldConstraintCollected = false; }
// cheat emulating '(QQuery)this' private static QQuery Cast(QQueryBase obj) { return (QQuery) obj; }
private Collection4 ExecutionPath(QQueryBase.CreateCandidateCollectionResult r) { return r.topLevel ? null : FieldPathFromTop(); }
public override IQueryResult ClassOnlyQuery(QQueryBase query, ClassMetadata clazz ) { if (!clazz.HasClassIndex()) { return new IdListQueryResult(query.Transaction()); } AbstractQueryResult queryResult = NewQueryResult(query.Transaction()); queryResult.LoadFromClassIndex(clazz); return queryResult; }