Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-5890

FIWARE.Question.Tech.Data.CEP.Proton CEP: How to count distinct instances in temporal context

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 16-02-2016 at 18:02
      Please, ANSWER this question AT http://stackoverflow.com/questions/35438731/proton-cep-how-to-count-distinct-instances-in-temporal-context

      Question:
      Proton CEP: How to count distinct instances in temporal context

      Description:
      I wish to count the number of distinct visitors to a store each half an hour.

      I know I will need:

      the temporal context (half an hour)

      What kind of EPA should I create to count distinct visitor ids?

      I suppose I will need an internal segmentation by visitorId?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2016-02-16 21:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-02-16 21:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        TALI Fabiana Fournier added a comment -

        Assigned to the new CEP GE owner

        Show
        TALI Fabiana Fournier added a comment - Assigned to the new CEP GE owner
        Hide
        urishani Uri Shani added a comment -

        Sorry for the delay on this one. Checking with CEP langauge experts for an answer.

        • Uri
        Show
        urishani Uri Shani added a comment - Sorry for the delay on this one. Checking with CEP langauge experts for an answer. Uri
        Hide
        urishani Uri Shani added a comment -

        Here you go:

        • The EPA should be of type Aggregate.
        • Yes, you need internal segmentation context by visitorId.

        See the documentation for a sample which demonstrates how to perform count:
        https://github.com/ishkin/Proton/tree/master/documentation/sample/fraud
        A pdf doc included.

        Hope this help.

        • Uri
        Show
        urishani Uri Shani added a comment - Here you go: The EPA should be of type Aggregate. Yes, you need internal segmentation context by visitorId. See the documentation for a sample which demonstrates how to perform count: https://github.com/ishkin/Proton/tree/master/documentation/sample/fraud A pdf doc included. Hope this help. Uri
        Hide
        mev Manuel Escriche added a comment -

        Uri, I check the issue hasn't been answered on stackoverflow yet.

        Show
        mev Manuel Escriche added a comment - Uri, I check the issue hasn't been answered on stackoverflow yet.
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-02-23 12:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-02-23 12:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-02-27 12:05|UPDATED status: transition Finish| # answers= 2, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-02-27 12:05|UPDATED status: transition Finish| # answers= 2, accepted answer= False

          People

          • Assignee:
            urishani Uri Shani
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: