net.sf.sparql.benchmarking.stats.impl
Class QueryRun
java.lang.Object
net.sf.sparql.benchmarking.stats.impl.AbstractOperationRun
net.sf.sparql.benchmarking.stats.impl.QueryRun
- All Implemented Interfaces:
- Comparable<OperationRun>, OperationRun
public class QueryRun
- extends AbstractOperationRun
- implements OperationRun
Represents a run of a single query
- Author:
- rvesse
Constructor Summary |
QueryRun(long runtime,
long responseTime,
long resultCount)
Creates a Query run which represents the results of running a query |
QueryRun(String error,
int category,
long runtime)
Creates a Query Run which represents that the running of a query resulted
in an error |
Methods inherited from class net.sf.sparql.benchmarking.stats.impl.AbstractOperationRun |
compareTo, getErrorCategory, getErrorMessage, getId, getResponseTime, getResultCount, getRunOrder, getRuntime, setId, setRunOrder, wasSuccessful |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryRun
public QueryRun(String error,
int category,
long runtime)
- Creates a Query Run which represents that the running of a query resulted
in an error
- Parameters:
error
- Error Messagecategory
- Error Categoryruntime
- Runtime, this is the amount of time elapsed until the
error/timeout was reached
QueryRun
public QueryRun(long runtime,
long responseTime,
long resultCount)
- Creates a Query run which represents the results of running a query
- Parameters:
runtime
- RuntimeresponseTime
- Response TimeresultCount
- Result Count
Copyright © 2014. All Rights Reserved.