public class QueryExecutionResult extends Measurable
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryExecutionResult.QueryExecutionResultBuilder |
Measurable.MeasuredBuilder<T extends Measurable,B extends Measurable.MeasuredBuilder>end, start, utcEnd, utcStart| Constructor and Description |
|---|
QueryExecutionResult(QueryExecution queryExecution) |
| Modifier and Type | Method and Description |
|---|---|
Benchmark |
getBenchmark() |
String |
getEnvironment() |
Exception |
getFailureCause() |
Optional<String> |
getPrestoQueryId() |
QueryExecution |
getQueryExecution() |
String |
getQueryName() |
int |
getRowsCount() |
boolean |
isSuccessful() |
String |
toString() |
getQueryDuration, getUtcEnd, getUtcStartpublic QueryExecutionResult(QueryExecution queryExecution)
public QueryExecution getQueryExecution()
public Benchmark getBenchmark()
getBenchmark in class Measurablepublic String getEnvironment()
getEnvironment in class Measurablepublic boolean isSuccessful()
isSuccessful in class Measurablepublic int getRowsCount()
public Exception getFailureCause()
public String getQueryName()
public String toString()
toString in class MeasurableCopyright © 2015–2020. All rights reserved.