net.sf.sparql.benchmarking.stats.impl
Class QueryRun

java.lang.Object
  extended by net.sf.sparql.benchmarking.stats.impl.AbstractOperationRun
      extended by 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

Field Summary
 
Fields inherited from interface net.sf.sparql.benchmarking.stats.OperationRun
NOT_YET_RUN, UNKNOWN
 
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
 
Method Summary
 
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
 
Methods inherited from interface net.sf.sparql.benchmarking.stats.OperationRun
getErrorCategory, getErrorMessage, getId, getResponseTime, getResultCount, getRunOrder, getRuntime, setId, setRunOrder, wasSuccessful
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

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 Message
category - Error Category
runtime - 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 - Runtime
responseTime - Response Time
resultCount - Result Count


Copyright © 2014. All Rights Reserved.