Monadic evaluation of injected query compositions
    1.
    发明授权
    Monadic evaluation of injected query compositions 有权
    注入查询组合的单体评估

    公开(公告)号:US09075672B2

    公开(公告)日:2015-07-07

    申请号:US13279245

    申请日:2011-10-21

    IPC分类号: G06F17/30 G06F9/54 G06F9/44

    摘要: Embodiments enable the evaluation of injected queries within a monad. One or more operators with closures are received from a first process. The operators with closures represent one or more functions to be applied by a second process. The second process evaluates the received operators with closures to apply the functions within the monad. During evaluation, the second process converts the closures to simply typed closures. Further, the second process binds the converted closures within the monad to restrict execution of the functions. In some embodiments, the queries (e.g., sequences of one or more operators with closures) are composed using a set of query operators from the language integrated query (LINQ) framework encoded in uniform resource locators (URLs) in the representational state transfer (REST) style.

    摘要翻译: 实施例能够评估在monad内注入的查询。 从第一个进程接收到一个或多个具有关闭的运算符。 具有关闭的操作符代表要由第二进程应用的一个或多个功能。 第二个过程使用关闭来评估接收到的运算符,以便在monad中应用这些函数。 在评估期间,第二个过程将闭包转换为简单类型的闭包。 此外,第二过程绑定monad中的转换闭包以限制函数的执行。 在一些实施例中,使用来自在表示状态转移(REST)中的统一资源定位符(URL)中编码的语言集成查询(LINQ)框架的一组查询运算符来组合查询(例如,具有闭包的一个或多个运算符的序列) )风格。