配置外部字典
如果使用xml文件配置字典,则比字典配置具有以下结构:
<dictionary>
    <name>dict_name</name>
    <structure>
      <!-- Complex key configuration -->
    </structure>
    <source>
      <!-- Source configuration -->
    </source>
    <layout>
      <!-- Memory layout configuration -->
    </layout>
    <lifetime>
      <!-- Lifetime of dictionary in memory -->
    </lifetime>
</dictionary>
相应的 DDL-查询 具有以下结构:
CREATE DICTIONARY dict_name
(
    ... -- attributes
)
PRIMARY KEY ... -- complex or single key configuration
SOURCE(...) -- Source configuration
LAYOUT(...) -- Memory layout configuration
LIFETIME(...) -- Lifetime of dictionary in memory