public class QueryStats extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected long |
cacheHitCount
cacheHitCount
|
protected long |
cacheMissCount
cacheMissCount
|
protected long |
cachePutCount
cachePutCount
|
protected long |
executionAvgTime
executionAvgTime
|
protected long |
executionCount
executionCount
|
protected long |
executionMaxTime
executionMaxTime
|
protected long |
executionMinTime
executionMinTime
|
protected long |
executionRowCount
executionRowCount
|
protected String |
query
query
|
Constructor and Description |
---|
QueryStats(CompositeData cData) |
QueryStats(String name) |
QueryStats(String name,
QueryStatistics src) |
Modifier and Type | Method and Description |
---|---|
void |
add(QueryStats stats) |
static QueryStats[] |
fromTabularData(TabularData tabularData)
fromTabularData
|
long |
getCacheHitCount()
getCacheHitCount
|
long |
getCacheMissCount()
getCacheMissCount
|
long |
getCachePutCount()
getCachePutCount
|
long |
getExecutionAvgTime()
getExecutionAvgTime
|
long |
getExecutionCount()
getExecutionCount
|
long |
getExecutionMaxTime()
getExecutionMaxTime
|
long |
getExecutionMinTime()
getExecutionMinTime
|
long |
getExecutionRowCount()
getExecutionRowCount
|
String |
getQuery()
getQuery
|
static TabularData |
newTabularDataInstance()
newTabularDataInstance
|
CompositeData |
toCompositeData()
toCompositeData
|
String |
toString()
toString
|
protected final String query
protected long cacheHitCount
protected long cacheMissCount
protected long cachePutCount
protected long executionCount
protected long executionRowCount
protected long executionAvgTime
protected long executionMaxTime
protected long executionMinTime
public QueryStats(String name)
name
- public QueryStats(String name, QueryStatistics src)
name
- src
- public QueryStats(CompositeData cData)
cData
- public void add(QueryStats stats)
stats
- public String getQuery()
public long getCacheHitCount()
public long getCacheMissCount()
public long getCachePutCount()
public long getExecutionCount()
public long getExecutionRowCount()
public long getExecutionAvgTime()
public long getExecutionMaxTime()
public long getExecutionMinTime()
public CompositeData toCompositeData()
public static TabularData newTabularDataInstance()
public static QueryStats[] fromTabularData(TabularData tabularData)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.