"", catalog, this.connection.getId(), //$NON-NLS-1$
(callingStatement != null) ? callingStatement.getId() : 999, ((ResultSetImpl) rs).resultId,
System.currentTimeMillis(), (queryEndTime - queryStartTime), this.queryTimingUnits, null,
new Throwable(), profileQueryToLog));
eventSink.consumeEvent(new ProfilerEvent(
ProfilerEvent.TYPE_FETCH,
"", catalog, this.connection.getId(), //$NON-NLS-1$
(callingStatement != null) ? callingStatement.getId() : 999, ((ResultSetImpl) rs).resultId,
System.currentTimeMillis(), (fetchEndTime - fetchBeginTime), this.queryTimingUnits, null,
new Throwable(), null));