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

FIWARE.Question.Tech.Data.BigData-Analysis.Fiware Cygnus: Can we store Orion data in MongoDB under other types than String?

    Details

      Description

      Created question in FIWARE Q/A platform on 07-09-2015 at 17:09
      Please, ANSWER this question AT http://stackoverflow.com/questions/32442212/fiware-cygnus-can-we-store-orion-data-in-mongodb-under-other-types-than-string

      Question:
      Fiware Cygnus: Can we store Orion data in MongoDB under other types than String?

      Description:
      I am subscribing to Orion Context Broker data using Cygnus. Cygnus stores the data on MongoDB like the following. Is there a possibility to store the attrValue as float not as String to be able to use Mongo's aggregation features?

      > db['cygnus_/kurapath_enocean_power_enocean'].find().pretty()
      {
      "_id" : ObjectId("55e81e9631d7791085668331"),
      "recvTime" : ISODate("2015-09-03T10:19:02Z"),
      "attrName" : "power",
      "attrType" : "string",
      "attrValue" : "2085.0"
      }

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-07 03:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-07 03:05|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-07 06:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-07 06:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-07 09:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-07 09:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-13 21:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-13 21:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            frb Francisco Romero
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: