public class SqlStatementEndEvent extends SqlStatementEvent
SqlStatementEvent.Purpose
Modifier and Type | Field and Description |
---|---|
boolean |
canceled |
long |
rowFetchCount |
Throwable |
throwable |
locus, purpose, sql, sqlStatementId
Constructor and Description |
---|
SqlStatementEndEvent(long timestamp,
long sqlStatementId,
Locus locus,
String sql,
SqlStatementEvent.Purpose purpose,
long rowFetchCount,
boolean canceled,
Throwable throwable)
Creates a SqlStatementEndEvent.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(Visitor<T> visitor)
Dispatches a call to the appropriate
visit method on
Visitor . |
String |
toString() |
getStatementId
public final long rowFetchCount
public final boolean canceled
public final Throwable throwable
public SqlStatementEndEvent(long timestamp, long sqlStatementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, long rowFetchCount, boolean canceled, Throwable throwable)
timestamp
- TimestampsqlStatementId
- SQL statement idlocus
- Locus of eventsql
- SQLpurpose
- Why Mondrian is executing this statementrowFetchCount
- Number of rows fetchedcanceled
- Whether statement was canceledthrowable
- Throwable, or null if there was no errorCopyright © 2018 Hitachi Vantara. All rights reserved.