Example: Memory Store Migration

In CCL, the Aleri memory store element migrates to a CREATE MEMORY STORE statement. By default, the indextype and indexsizehint properties are set.

The Aleri index property migrates to the indextype property in CCL. AleriML has index="{tree|hash|list}" while CCL has INDEXTYPE={‘tree’|‘hash’}. By default, the AleriML index="list" migrates to the CCL INDEXTYPE='tree'.

AleriML:

<Store file="store1" id="store1" kind="memory" index="tree"/>

CCL:

CREATE  MEMORY  STORE store1 PROPERTIES  INDEXTYPE ='tree',  INDEXSIZEHINT =8;

Since the list index option is not supported in CCL, you can simulate one in SPLASH using the vector and dictionary data structures. For an example on how to do this, see the Example: Using a List Store to Preserve Order of Arrival topic.