Skip to content

Commit

Permalink
update datamodel types
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Oct 20, 2023
1 parent 698d5be commit 49a579c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_mongo_sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,11 @@ If `data_model=dm-by-entity` and `attr_persistence=column` then `NGSIMongoSink`
### <a name="section1.4"></a>MongoDB Indexes
Since version 3.0.0 of cygnus an index named `cyg_raw_opt` is created in this way but depending on datamodel:

| datamodel | keys |
| :-------------- | :--------------------------------------------------------------- |
| DMBYSERVICEPATH | recvTime, entityId, entityType, attrName, attrType, attrValue |
| DMBYENTITY | recvTime, attrName, attrType, attrValue |
| DMBYATTRIBUTE | recvTime, attrType, attrValue |
| datamodel | keys |
| :---------------- | :--------------------------------------------------------------- |
| dm-by-servicepath | recvTime, entityId, entityType, attrName, attrType, attrValue |
| dm-by-entity | recvTime, attrName, attrType, attrValue |
| dm-by-attribute | recvTime, attrType, attrValue |


## <a name="section2"></a>Administration guide
Expand Down
10 changes: 5 additions & 5 deletions doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_sth_sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,11 @@ Assuming `data_model=dm-by-entity` and all the possible resolutions as configura

Since version 3.0.0 of cygnus index named `cyg_agg_opt` is created in this way but depending on datamodel:

| datamodel | keys |
| :--------------- | :------------------------------------------------- |
| DMBYSERVICEPATH | entityId, entityType, attrName, resolution, origin |
| DMBYENTITY | attrName, resolution, origin |
| DMBYATTRIBUTE | resolution, origin |
| datamodel | keys |
| :----------------- | :------------------------------------------------- |
| dm-by-service-path | entityId, entityType, attrName, resolution, origin |
| dm-by-entity | attrName, resolution, origin |
| dm-by-attribute | resolution, origin |

## <a name="section2"></a>Administration guide
### <a name="section2.1"></a>Configuration
Expand Down

0 comments on commit 49a579c

Please sign in to comment.