Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | MashZone NextGen Analytics | Working with MashZone NextGen Analytics In-Memory Stores | Store Data in MashZone NextGen Analytics In-Memory Stores | Set Unique Keys for Dataset Rows
 
Set Unique Keys for Dataset Rows
When you store datasets in an In-Memory Store, a key column is added and each row is assigned a unique key. You determine how this key is derived in the key attribute of <storeto>.
You can assign keys based on the time rows are added or a unique ID algorithm. You can also use an existing column in the dataset as the key or a combination of columns. For example:
See <storeto> for detailed information on the methods to derive keys.
The example in Store Data in Declared In-Memory Stores combines multiple existing columns as the key. The example in Use an In-Memory Store to Store and Load Datasets for MashZone NextGen Analytics uses #unique to derive numeric keys.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release