public override void OnSuccess(IDictionary <string, object> metadata) { base.OnSuccess(metadata); _summaryBuilder.ResultConsumedAfter = GetMetadata <ResultConsumedAfterCollector, long>(); _summaryBuilder.Counters = GetMetadata <CountersCollector, ICounters>(); _summaryBuilder.Notifications = GetMetadata <NotificationsCollector, IList <INotification> >(); _summaryBuilder.Plan = GetMetadata <PlanCollector, IPlan>(); _summaryBuilder.Profile = GetMetadata <ProfiledPlanCollector, IProfiledPlan>(); _summaryBuilder.StatementType = GetMetadata <TypeCollector, StatementType>(); _streamBuilder.PullCompleted(false, null); }
public override void OnSuccess(IDictionary <string, object> metadata) { base.OnSuccess(metadata); _bookmarkTracker?.UpdateBookmark(GetMetadata <BookmarkCollector, Bookmark>()); _summaryBuilder.ResultConsumedAfter = GetMetadata <TimeToLastCollector, long>(); _summaryBuilder.Counters = GetMetadata <CountersCollector, ICounters>(); _summaryBuilder.Notifications = GetMetadata <NotificationsCollector, IList <INotification> >(); _summaryBuilder.Plan = GetMetadata <PlanCollector, IPlan>(); _summaryBuilder.Profile = GetMetadata <ProfiledPlanCollector, IProfiledPlan>(); _summaryBuilder.QueryType = GetMetadata <TypeCollector, QueryType>(); _streamBuilder.PullCompleted(false, null); }