public class QueryResultBase extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
query
The query string.
|
protected EnumQueryType |
queryType
Type of the query.
|
Constructor and Description |
---|
QueryResultBase(String query,
EnumQueryType queryType)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
Long |
getExecutionTime()
Returns query execution time in ms.
|
String |
getQuery()
Returns the query string.
|
EnumQueryType |
getQueryType()
Returns type of the query.
|
void |
setExecutionTime(long executionTime)
Set query execution time in ms.
|
protected String query
protected EnumQueryType queryType
public QueryResultBase(String query, EnumQueryType queryType)
query
- the query stringqueryType
- type of the querypublic String getQuery()
public EnumQueryType getQueryType()
public void setExecutionTime(long executionTime)
executionTime
- execution time in mspublic Long getExecutionTime()
Copyright © 2013. All Rights Reserved.