Store and create queries at runtime using the Rx framework in Streaminsight 2.1

Answered Store and create queries at runtime using the Rx framework in Streaminsight 2.1

  • Tuesday, March 12, 2013 11:05 AM
     
     

    Hello all,

    In Streaminsight 2.0 you could access a XML representation of a query by using the "Description" property. From my understanding, you could then use this XML to store and recreate a query at a later time.

    My question is, can I get a XML (or something else) representation of a query that allows me to recreate it at runtime in a latter time while using the Reactive Framework of Streaminsight 2.1?

    It seems that IQbservable has a "Expression" property that contains the expression that it represents, however I can't find a way to take that Expression and recreate a query with it, like say, using Streaminsight's 2.0 Application.CreateQueryTemplate(XmlReader).

    My objective is to allow the user to create a query without having to stop the Streaminsight system.

All Replies

  • Tuesday, March 12, 2013 3:23 PM
     
     Answered

    Not that I'm aware of.

    However, there isn't any need for you to stop/restart StreamInsight for a new query. Just expose the management service and then connect to it. You'll be able to do whatever you need to do.


    DevBiker (aka J Sawyer)
    Microsoft MVP - Sql Server (StreamInsight)


    Ruminations of J.net


    If I answered your question, please mark as answer.
    If my post was helpful, please mark as helpful.