摘要: 上篇博文介绍了StreamInsight基础查询操作中的用户自定义聚合部分。这篇文章将主要介绍如何在StreamInsight查询中使用分组聚合。 测试数据准备 为了方便测试查询,我们首先准备一个静态的测试数据源:var weatherData = new[]{ new { Timestamp = new DateTime(2010, 1, 1, 0, 00, 00, DateTimeKind.Utc), Temperature = -9.0, StationCode = 71395, WindSpeed = 4}, new { Timestamp = new DateTime(... 阅读全文
posted @ 2011-08-22 23:11 StreamInsight 阅读(1115) 评论(0) 推荐(1) 编辑
摘要: 上篇博文介绍了StreamInsight基础查询操作中的聚合部分。这篇文章将主要介绍如何在StreamInsight查询中使用用户自定义聚合。 测试数据准备 为了方便测试查询,我们首先准备一个静态的测试数据源:var weatherData = new[]{ new { Timestamp = new DateTime(2010, 1, 1, 0, 00, 00, DateTimeKind.Utc), Temperature = -9.0, StationCode = 71395, WindSpeed = 4}, new { Timestamp = new DateTime(20... 阅读全文
posted @ 2011-08-22 17:37 StreamInsight 阅读(1148) 评论(1) 推荐(2) 编辑