- Timestamp:
- 02/16/11 04:59:43 (14 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query
- Files:
-
- 36 added
- 19 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmClassNameFilter.cs
r5378 r5482 24 24 using HeuristicLab.Services.OKB.DataAccess; 25 25 26 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 27 27 public class AlgorithmClassNameFilter : IFilter { 28 28 public DataTransfer.StringComparison Comparison { get; set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmDataDataTypeNameFilter.cs
r5378 r5482 24 24 using HeuristicLab.Services.OKB.DataAccess; 25 25 26 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 27 27 public class AlgorithmDataDataTypeNameFilter : IFilter { 28 28 public DataTransfer.StringComparison Comparison { get; set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmNameFilter.cs
r5378 r5482 24 24 using HeuristicLab.Services.OKB.DataAccess; 25 25 26 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 27 27 public class AlgorithmNameFilter : IFilter { 28 28 public DataTransfer.StringComparison Comparison { get; set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmParameterBlobValueDataTypeNameFilter.cs
r5378 r5482 21 21 22 22 using System; 23 using System.Linq;24 23 using System.Linq.Expressions; 25 24 using HeuristicLab.Services.OKB.DataAccess; 26 25 27 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 28 27 public class AlgorithmParameterBlobValueDataTypeNameFilter : IFilter { 29 28 public string Name { get; protected set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmParameterBlobValueValueFilter.cs
r5286 r5482 21 21 22 22 using System; 23 using System.Linq;24 23 using System.Linq.Expressions; 25 24 using HeuristicLab.Services.OKB.DataAccess; 26 25 27 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 28 27 public class AlgorithmParameterBlobValueValueFilter : IFilter { 29 28 public string Name { get; protected set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmParameterBoolValueValueFilter.cs
r5286 r5482 21 21 22 22 using System; 23 using System.Linq;24 23 using System.Linq.Expressions; 25 24 using HeuristicLab.Services.OKB.DataAccess; 26 25 27 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 28 27 public class AlgorithmParameterBoolValueValueFilter : IFilter { 29 28 public string Name { get; protected set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmParameterFloatValueValueFilter.cs
r5286 r5482 21 21 22 22 using System; 23 using System.Linq;24 23 using System.Linq.Expressions; 25 24 using HeuristicLab.Services.OKB.DataAccess; 26 25 27 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 28 27 public class AlgorithmParameterFloatValueValueFilter : IFilter { 29 28 public string Name { get; protected set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmParameterIntValueValueFilter.cs
r5286 r5482 21 21 22 22 using System; 23 using System.Linq;24 23 using System.Linq.Expressions; 25 24 using HeuristicLab.Services.OKB.DataAccess; 26 25 27 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 28 27 public class AlgorithmParameterIntValueValueFilter : IFilter { 29 28 public string Name { get; protected set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmParameterNameFilter.cs
r5378 r5482 21 21 22 22 using System; 23 using System.Linq;24 23 using System.Linq.Expressions; 25 24 using HeuristicLab.Services.OKB.DataAccess; 26 25 27 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 28 27 public class AlgorithmParameterNameFilter : IFilter { 29 28 public DataTransfer.StringComparison Comparison { get; set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmParameterStringValueValueFilter.cs
r5378 r5482 21 21 22 22 using System; 23 using System.Linq;24 23 using System.Linq.Expressions; 25 24 using HeuristicLab.Services.OKB.DataAccess; 26 25 27 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 28 27 public class AlgorithmParameterStringValueValueFilter : IFilter { 29 28 public string Name { get; protected set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AlgorithmPlatformNameFilter.cs
r5378 r5482 24 24 using HeuristicLab.Services.OKB.DataAccess; 25 25 26 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 27 27 public class AlgorithmPlatformNameFilter : IFilter { 28 28 public DataTransfer.StringComparison Comparison { get; set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/AndFilter.cs
r5304 r5482 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 24 using System.Linq.Expressions; 26 25 using HeuristicLab.Services.OKB.DataAccess; 27 26 28 namespace HeuristicLab.Services.OKB {27 namespace HeuristicLab.Services.OKB.Query.Filters { 29 28 public class AndFilter : IFilter { 30 29 public List<IFilter> Filters { get; private set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/IFilter.cs
r5480 r5482 24 24 using HeuristicLab.Services.OKB.DataAccess; 25 25 26 namespace HeuristicLab.Services.OKB.Query {26 namespace HeuristicLab.Services.OKB.Query.Filters { 27 27 public interface IFilter { 28 28 Expression<Func<Run, bool>> Expression { get; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/OrFilter.cs
r5304 r5482 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 24 using System.Linq.Expressions; 26 25 using HeuristicLab.Services.OKB.DataAccess; 27 26 28 namespace HeuristicLab.Services.OKB {27 namespace HeuristicLab.Services.OKB.Query.Filters { 29 28 public class OrFilter : IFilter { 30 29 public List<IFilter> Filters { get; private set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/ProblemClassNameFilter.cs
r5378 r5482 24 24 using HeuristicLab.Services.OKB.DataAccess; 25 25 26 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 27 27 public class ProblemClassNameFilter : IFilter { 28 28 public DataTransfer.StringComparison Comparison { get; set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/ProblemDataDataTypeNameFilter.cs
r5378 r5482 24 24 using HeuristicLab.Services.OKB.DataAccess; 25 25 26 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 27 27 public class ProblemDataDataTypeNameFilter : IFilter { 28 28 public DataTransfer.StringComparison Comparison { get; set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/ProblemNameFilter.cs
r5378 r5482 24 24 using HeuristicLab.Services.OKB.DataAccess; 25 25 26 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 27 27 public class ProblemNameFilter : IFilter { 28 28 public DataTransfer.StringComparison Comparison { get; set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Filters/ProblemParameterBlobValueDataTypeNameFilter.cs
r5378 r5482 21 21 22 22 using System; 23 using System.Linq;24 23 using System.Linq.Expressions; 25 24 using HeuristicLab.Services.OKB.DataAccess; 26 25 27 namespace HeuristicLab.Services.OKB {26 namespace HeuristicLab.Services.OKB.Query.Filters { 28 27 public class ProblemParameterBlobValueDataTypeNameFilter : IFilter { 29 28 public string Name { get; protected set; } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/IQueryService.cs
r5479 r5482 23 23 using System.Net.Security; 24 24 using System.ServiceModel; 25 using HeuristicLab.Services.OKB. DataTransfer;25 using HeuristicLab.Services.OKB.Query.DataTransfer; 26 26 27 27 namespace HeuristicLab.Services.OKB.Query { … … 35 35 36 36 [OperationContract] 37 long GetNumberOf QueryResults(Filter filter);37 long GetNumberOfRuns(Filter filter); 38 38 39 39 [OperationContract] 40 IEnumerable<long> Get QueryResultIds(Filter filter);40 IEnumerable<long> GetRunIds(Filter filter); 41 41 42 42 [OperationContract] 43 IEnumerable< QueryResult> GetQueryResults(IEnumerable<long> ids);43 IEnumerable<Run> GetRuns(IEnumerable<long> ids); 44 44 } 45 45 } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/QueryService.cs
r5479 r5482 26 26 using System.ServiceModel; 27 27 using HeuristicLab.Services.OKB.DataAccess; 28 using HeuristicLab.Services.OKB. DataTransfer;28 using HeuristicLab.Services.OKB.Query.DataTransfer; 29 29 30 30 namespace HeuristicLab.Services.OKB.Query { … … 107 107 } 108 108 109 public long GetNumberOf QueryResults(Filter filter) {109 public long GetNumberOfRuns(Filter filter) { 110 110 using (OKBDataContext okb = new OKBDataContext()) { 111 111 return FilterRuns(okb.Runs, filter).LongCount(); … … 113 113 } 114 114 115 public IEnumerable<long> Get QueryResultIds(Filter filter) {115 public IEnumerable<long> GetRunIds(Filter filter) { 116 116 using (OKBDataContext okb = new OKBDataContext()) { 117 117 return FilterRuns(okb.Runs, filter).Select(x => x.Id).ToArray(); … … 119 119 } 120 120 121 public IEnumerable< QueryResult> GetQueryResults(IEnumerable<long> ids) {121 public IEnumerable<DataTransfer.Run> GetRuns(IEnumerable<long> ids) { 122 122 using (OKBDataContext okb = new OKBDataContext()) { 123 123 DataLoadOptions dlo = new DataLoadOptions();
Note: See TracChangeset
for help on using the changeset viewer.