Class QueryStatsData
- java.lang.Object
-
- org.apache.jackrabbit.oak.query.stats.QueryStatsData
-
public class QueryStatsData extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classQueryStatsData.QueryExecutionStats
-
Constructor Summary
Constructors Constructor Description QueryStatsData(String query, String language)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCreatedMillis()longgetExecuteCount()StringgetKey()StringgetLanguage()longgetLastExecutedMillis()StringgetLastThreadName()longgetMaxRowsRead()longgetMaxRowsScanned()longgetMaxTimeNanos()The maximum CPU time needed to run one query.StringgetQuery()static StringgetTimeString(long timeMillis)longgetTotalRowsRead()longgetTotalRowsScanned()longgetTotalTimeNanos()booleanisInternal()voidsetCaptureStackTraces(boolean captureStackTraces)StringtoString()
-
-
-
Method Detail
-
getKey
public String getKey()
-
getMaxTimeNanos
public long getMaxTimeNanos()
The maximum CPU time needed to run one query.- Returns:
- the time in nanoseconds
-
getTotalTimeNanos
public long getTotalTimeNanos()
-
getMaxRowsRead
public long getMaxRowsRead()
-
getMaxRowsScanned
public long getMaxRowsScanned()
-
setCaptureStackTraces
public void setCaptureStackTraces(boolean captureStackTraces)
-
getCreatedMillis
public long getCreatedMillis()
-
getExecuteCount
public long getExecuteCount()
-
getTotalRowsRead
public long getTotalRowsRead()
-
getTotalRowsScanned
public long getTotalRowsScanned()
-
getLanguage
public String getLanguage()
-
getQuery
public String getQuery()
-
isInternal
public boolean isInternal()
-
getLastThreadName
public String getLastThreadName()
-
getLastExecutedMillis
public long getLastExecutedMillis()
-
getTimeString
public static final String getTimeString(long timeMillis)
-
-