public ValuesQueryResultAction(NeoDatis.Odb.Core.Query.IValuesQuery query, NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine storageEngine, NeoDatis.Odb.Core.Layers.Layer2.Instance.IInstanceBuilder instanceBuilder ) : base() { this.engine = storageEngine; this.query = query; this.queryHasOrderBy = query.HasOrderBy(); this.instanceBuilder = instanceBuilder; this.returnArraySize = query.GetObjectActions().Count; System.Collections.IEnumerator iterator = query.GetObjectActions().GetEnumerator( ); NeoDatis.Odb.Core.Query.Execution.IQueryFieldAction qfa = null; queryFieldActions = new NeoDatis.Odb.Core.Query.Execution.IQueryFieldAction[returnArraySize ]; int i = 0; while (iterator.MoveNext()) { qfa = (NeoDatis.Odb.Core.Query.Execution.IQueryFieldAction)iterator.Current; queryFieldActions[i] = qfa.Copy(); queryFieldActions[i].SetReturnInstance(query.ReturnInstance()); queryFieldActions[i].SetInstanceBuilder(instanceBuilder); i++; } }
public GetObjectValuesMessage(string baseId, string connectionId, NeoDatis.Odb.Core.Query.IValuesQuery query, int startIndex, int endIndex) : base(NeoDatis.Odb.Core.Server.Layers.Layer3.Engine.Command .GetObjectValues, baseId, connectionId) { this.query = query; this.startIndex = startIndex; this.endIndex = endIndex; }
public GetObjectValuesMessage(string baseId, string connectionId, NeoDatis.Odb.Core.Query.IValuesQuery query, int startIndex, int endIndex) : base(NeoDatis.Odb.Core.Server.Layers.Layer3.Engine.Command .GetObjectValues, baseId, connectionId) { this.query = query; this.startIndex = startIndex; this.endIndex = endIndex; }
public override NeoDatis.Odb.Values GetValues(NeoDatis.Odb.Core.Query.IValuesQuery query, int startIndex, int endIndex) { if (isClosed) { throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.NeoDatisError.OdbIsClosed .AddParameter(baseIdentification.GetIdentification())); } return(objectReader.GetValues(query, startIndex, endIndex)); }
public GroupByValuesQueryResultAction(NeoDatis.Odb.Core.Query.IValuesQuery query, NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine storageEngine, NeoDatis.Odb.Core.Layers.Layer2.Instance.IInstanceBuilder instanceBuilder) : base() { this.query = query; this.queryHasOrderBy = query.HasOrderBy(); this.instanceBuilder = instanceBuilder; this.returnArraySize = query.GetObjectActions().Count; this.groupByFieldList = query.GetGroupByFieldList(); this.groupByResult = new NeoDatis.Tool.Wrappers.Map.OdbHashMap <NeoDatis.Tool.Wrappers.OdbComparable , NeoDatis.Odb.Impl.Core.Query.Values.ValuesQueryResultAction>(); }
public GetObjectValuesMessage(string baseId, string connectionId, NeoDatis.Odb.Core.Query.IValuesQuery query) : this(baseId, connectionId, query, -1, -1) { }
public abstract NeoDatis.Odb.Values GetValues(NeoDatis.Odb.Core.Query.IValuesQuery arg1, int arg2, int arg3);
public virtual NeoDatis.Odb.Values GetValues(NeoDatis.Odb.Core.Query.IValuesQuery query) { return(storageEngine.GetValues(query, -1, -1)); }