Package org.aksw.iguana.cc.model
Class QueryExecutionStats
- java.lang.Object
-
- org.aksw.iguana.cc.model.QueryExecutionStats
-
public class QueryExecutionStats extends java.lang.Object
Wrapper for a query execution.
-
-
Constructor Summary
Constructors Constructor Description QueryExecutionStats()
QueryExecutionStats(java.lang.String queryID, long responseCode, double executionTime)
QueryExecutionStats(java.lang.String queryID, long responseCode, double executionTime, long resultSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getExecutionTime()
java.lang.String
getQueryID()
long
getResponseCode()
long
getResultSize()
void
setExecutionTime(double executionTime)
void
setQueryID(java.lang.String queryID)
void
setResponseCode(long responseCode)
void
setResultSize(long resultSize)
-
-
-
Constructor Detail
-
QueryExecutionStats
public QueryExecutionStats(java.lang.String queryID, long responseCode, double executionTime)
-
QueryExecutionStats
public QueryExecutionStats(java.lang.String queryID, long responseCode, double executionTime, long resultSize)
-
QueryExecutionStats
public QueryExecutionStats()
-
-
Method Detail
-
getQueryID
public java.lang.String getQueryID()
-
setQueryID
public void setQueryID(java.lang.String queryID)
-
getResponseCode
public long getResponseCode()
-
setResponseCode
public void setResponseCode(long responseCode)
-
getExecutionTime
public double getExecutionTime()
-
setExecutionTime
public void setExecutionTime(double executionTime)
-
getResultSize
public long getResultSize()
-
setResultSize
public void setResultSize(long resultSize)
-
-