public VizqlConstructProtocolGroup(BsonDocument document) { SetEventMetadata(document); BsonDocument values = BsonDocumentHelper.GetValuesStruct(document); InConstructionCount = values.GetNullableInt("in-construction-count"); ClosedProtocolsCount = values.GetNullableInt("closed-protocols-count"); ProtocolGroupId = values.GetNullableInt("group-id"); ConnectionLimit = values.GetInt("connection-limit"); Attributes = values.GetString("attributes"); }
public VizqlDsInterpretMetadata(BsonDocument document) { SetEventMetadata(document); BsonDocument values = BsonDocumentHelper.GetValuesStruct(document); HasNull = values.GetNullableBool("has-null"); Precision = values.GetNullableInt("precision"); Scale = values.GetNullableInt("scale"); RemoteType = values.GetString("remote-type"); Name = values.GetString("name"); Collation = values.GetString("collation"); }
public VizqlQpBatchSummaryJob(string qpBatchSummaryEventGuid, string vizqlSessionId, BsonDocument document) { QpBatchSummaryEventGuid = qpBatchSummaryEventGuid; VizqlSessionId = vizqlSessionId; QueryId = document.GetInt("query-id"); ProtocolId = document.GetNullableInt("protocol-id"); Elapsed = document.GetNullableDouble("elapsed"); OwnerComponent = document.GetString("owner-component"); OwnerDashboard = document.GetString("owner-dashboard"); OwnerWorksheet = document.GetString("owner-worksheet"); QueryAbstract = document.GetString("query-abstract"); QueryCompiled = document.GetString("query-compiled"); CacheHit = document.GetString("cache-hit"); FusionParent = document.GetNullableInt("fusion-parent"); Exception = document.GetString("exception"); }
public VizqlConstructProtocol(BsonDocument document) { SetEventMetadata(document); BsonDocument values = BsonDocumentHelper.GetValuesStruct(document); Elapsed = values.GetNullableDouble("created-elapsed"); ProtocolId = values.GetNullableInt("id"); ProtocolGroupId = values.GetNullableInt("group_id"); BsonDocument attributes = BsonDocumentHelper.GetBsonDocument("attributes", values); if (attributes != null) { Class = attributes.GetString("class"); DatabaseName = attributes.GetString("dbname"); DatabaseServer = attributes.GetString("server"); Attributes = attributes.ToString(); } }
public VizqlEcLoad(BsonDocument document) { SetEventMetadata(document); BsonDocument values = BsonDocumentHelper.GetValuesStruct(document); KeyHash = values.GetString("key-hash"); Outcome = values.GetString("outcome"); KeySizeB = values.GetInt("key-size-b"); Cns = values.GetString("cns"); ElapsedMs = values.GetNullableInt("elapsed-ms"); }
public VizqlQpQueryEnd(BsonDocument document) { SetEventMetadata(document); BsonDocument values = BsonDocumentHelper.GetValuesStruct(document); QueryId = values.GetInt("query-id"); OwnerDashboard = values.GetString("owner-dashboard"); OwnerComponent = values.GetString("owner-component"); OwnerWorksheet = values.GetString("owner-worksheet"); CacheHit = values.GetString("cache-hit"); ProtocolId = values.GetNullableInt("protocol-id"); Elapsed = values.GetNullableDouble("elapsed"); }
public VizqlEcStore(BsonDocument document) { SetEventMetadata(document); BsonDocument values = BsonDocumentHelper.GetValuesStruct(document); KeyHash = values.GetString("key-hash"); Outcome = values.GetString("outcome"); KeySizeB = values.GetInt("key-size-b"); ValueSizeB = values.GetInt("value-size-b"); Cns = values.GetString("cns"); ElapsedMs = values.GetNullableInt("elapsed-ms"); LoadTimeMs = values.GetInt("load-time-ms"); LowerBoundMs = values.GetInt("lower-bound-ms"); }
public VizqlEqcLoad(BsonDocument document) { SetEventMetadata(document); BsonDocument values = BsonDocumentHelper.GetValuesStruct(document); KeyHash = values.GetString("key-hash"); Outcome = values.GetString("outcome"); if (document.Contains("query-kind")) { QueryKind = values.GetString("query-kind"); } else if (document.Contains("kind")) { QueryKind = values.GetString("kind"); } ElapsedMs = values.GetNullableInt("elapsed-ms"); }
public VizqlEqcStore(BsonDocument document) { SetEventMetadata(document); BsonDocument values = BsonDocumentHelper.GetValuesStruct(document); KeyHash = values.GetString("key-hash"); Outcome = values.GetString("outcome"); KeySizeB = values.GetNullableInt("key-size-b"); ValueSizeB = values.GetNullableInt("value-size-b"); QueryKind = values.GetString("query-kind"); ElapsedMs = values.GetNullableInt("elapsed-ms"); QueryLatencyMs = values.GetNullableInt("query-latency-ms"); ColumnCount = values.GetNullableInt("column-count"); RowCount = values.GetNullableInt("row-count"); }