zoukankan      html  css  js  c++  java
  • esper 附录A

    A2
    select irstream symbol, volume, price from MarketDate.win.time(5.5 sec)
    select irstream symbol, volume, price from MarketDate.win.time(5.5 sec) output every 1 seconds
    select irstream symbol, volume, price from MarketDate.win.time(5.5 sec) output last every 1 seconds
    select irstream symbol, volume, price from MarketDate.win.time(5.5 sec) output first every 1 seconds
    select irstream symbol, volume, price from MarketDate.win.time(5.5 sec) output snapshot every 1 seconds
    
    A3
    select irstream sum(price) from MarketDate.win.time(5.5 sec)
    select irstream sum(price) from MarketDate.win.time(5.5 sec) output every 1 seconds
    select irstream sum(price) from MarketDate.win.time(5.5 sec) output last every 1 seconds
    select irstream sum(price) from MarketDate.win.time(5.5 sec) output first every 1 seconds
    select irstream sum(price) from MarketDate.win.time(5.5 sec) output snapshot every 1 seconds
    
    A4
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec)
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) output every 1 seconds
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) output last every 1 seconds
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) output first every 1 seconds
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) output snapshot every 1 seconds
    
    A5
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) group by symbol order by symbol
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output every 1 seconds
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output all every 1 seconds order by symbol
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output last every 1 seconds order by symbol 
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output first every 1 seconds
    select irstream symbol, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output snapshot every 1 seconds order by symbol
    
    A6
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by symbol 
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output every 1 seconds
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output all every 1 seconds order by symbol
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output last every 1 seconds order by symbol
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output first every 1 seconds 
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by symbol output snapshot every 1 seconds 
    
    A7
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by rollup(symbol) 
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by rollup(symbol) output every 1 seconds
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by rollup(symbol) output all every 1 seconds
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by rollup(symbol) output last every 1 seconds
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by rollup(symbol) output first every 1 seconds
    select irstream symbol, volume, sum(price) from MarketDate.win.time(5.5 sec) group by rollup(symbol) output snapshot every 1 seconds
  • 相关阅读:
    eclipse编码格式设置教程、如何为eclipse设置编码格式?
    Eclipse中使用SVN
    个人mysql配置命令
    MySQL新建用户,授权,删除用户,修改密码等命令
    MySQL修改root密码的多种方法
    MySQL 5.6 for Windows 解压缩版配置安装
    在windows下安装mysql5.6.24版本
    CS231n assignment2 Q3 Dropout
    CS231n assignment2 Q1 Fully-connected Neural Network
    CS231n assignment2 Q2 Batch Normalization
  • 原文地址:https://www.cnblogs.com/clds/p/5082921.html
Copyright © 2011-2022 走看看