mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
257 lines
6.1 KiB
XML
257 lines
6.1 KiB
XML
<dictionaries>
|
|
|
|
<dictionary>
|
|
<name>executable_complex</name>
|
|
<source>
|
|
<executable>
|
|
<format>TabSeparated</format>
|
|
<command>awk -F'\t' '{printf "%s\t%s\t%.0f\t%.0f\n", $1, $2, $1+$2, $1*$2}'</command>
|
|
</executable>
|
|
</source>
|
|
<lifetime>0</lifetime>
|
|
<layout>
|
|
<complex_key_cache>
|
|
<size_in_cells>1000</size_in_cells>
|
|
</complex_key_cache>
|
|
</layout>
|
|
<structure>
|
|
<key>
|
|
<attribute>
|
|
<name>x</name>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
<attribute>
|
|
<name>y</name>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
</key>
|
|
<attribute>
|
|
<name>a</name>
|
|
<type>UInt64</type>
|
|
<null_value>0</null_value>
|
|
</attribute>
|
|
<attribute>
|
|
<name>b</name>
|
|
<type>UInt64</type>
|
|
<null_value>0</null_value>
|
|
</attribute>
|
|
</structure>
|
|
</dictionary>
|
|
|
|
<dictionary>
|
|
<name>executable_simple</name>
|
|
<source>
|
|
<executable>
|
|
<format>TabSeparated</format>
|
|
<command>awk -F'\t' '{printf "%s\t%.0f\t%.0f\n", $1, $1+$1, $1*$1}'</command>
|
|
</executable>
|
|
</source>
|
|
<lifetime>0</lifetime>
|
|
<layout>
|
|
<cache>
|
|
<size_in_cells>1000</size_in_cells>
|
|
</cache>
|
|
</layout>
|
|
<structure>
|
|
<id>
|
|
<name>x</name>
|
|
</id>
|
|
<attribute>
|
|
<name>a</name>
|
|
<type>UInt64</type>
|
|
<null_value>0</null_value>
|
|
</attribute>
|
|
<attribute>
|
|
<name>b</name>
|
|
<type>UInt64</type>
|
|
<null_value>0</null_value>
|
|
</attribute>
|
|
</structure>
|
|
</dictionary>
|
|
|
|
<dictionary>
|
|
<name>executable_complex_direct</name>
|
|
<source>
|
|
<executable>
|
|
<format>TabSeparated</format>
|
|
<command>awk -F'\t' '{printf "%s\t%s\t%.0f\t%.0f\n", $1, $2, $1+$2, $1*$2}'</command>
|
|
</executable>
|
|
</source>
|
|
<lifetime>0</lifetime>
|
|
<layout>
|
|
<complex_key_direct />
|
|
</layout>
|
|
<structure>
|
|
<key>
|
|
<attribute>
|
|
<name>x</name>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
<attribute>
|
|
<name>y</name>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
</key>
|
|
<attribute>
|
|
<name>a</name>
|
|
<type>UInt64</type>
|
|
<null_value>0</null_value>
|
|
</attribute>
|
|
<attribute>
|
|
<name>b</name>
|
|
<type>UInt64</type>
|
|
<null_value>0</null_value>
|
|
</attribute>
|
|
</structure>
|
|
</dictionary>
|
|
|
|
<dictionary>
|
|
<name>simple_executable_cache_dictionary_no_implicit_key</name>
|
|
|
|
<structure>
|
|
<id>
|
|
<name>id</name>
|
|
<type>UInt64</type>
|
|
</id>
|
|
|
|
<attribute>
|
|
<name>value</name>
|
|
<type>String</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
</structure>
|
|
|
|
<source>
|
|
<executable>
|
|
<format>TabSeparated</format>
|
|
<command>awk -F'\t' '{print $1 "\t" "Value"}'</command>
|
|
<implicit_key>false</implicit_key>
|
|
</executable>
|
|
</source>
|
|
|
|
<layout>
|
|
<cache>
|
|
<size_in_cells>10000</size_in_cells>
|
|
</cache>
|
|
</layout>
|
|
|
|
<lifetime>300</lifetime>
|
|
</dictionary>
|
|
|
|
<dictionary>
|
|
<name>simple_executable_cache_dictionary_implicit_key</name>
|
|
|
|
<structure>
|
|
<id>
|
|
<name>id</name>
|
|
<type>UInt64</type>
|
|
</id>
|
|
|
|
<attribute>
|
|
<name>value</name>
|
|
<type>String</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
</structure>
|
|
|
|
<source>
|
|
<executable>
|
|
<format>JSONEachRow</format>
|
|
<command>awk '{ print "{\"id\":" $1 ",\"value\":\"Value\"}"}'</command>
|
|
<implicit_key>true</implicit_key>
|
|
</executable>
|
|
</source>
|
|
|
|
<layout>
|
|
<cache>
|
|
<size_in_cells>10000</size_in_cells>
|
|
</cache>
|
|
</layout>
|
|
|
|
<lifetime>300</lifetime>
|
|
</dictionary>
|
|
|
|
<dictionary>
|
|
<name>complex_executable_cache_dictionary_no_implicit_key</name>
|
|
|
|
<structure>
|
|
<key>
|
|
<attribute>
|
|
<name>id</name>
|
|
<type>UInt64</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
<attribute>
|
|
<name>id_key</name>
|
|
<type>String</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
</key>
|
|
|
|
<attribute>
|
|
<name>value</name>
|
|
<type>String</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
</structure>
|
|
|
|
<source>
|
|
<executable>
|
|
<format>TabSeparated</format>
|
|
<command>awk -F'\t' '{print $1 "\t" $2 "\t" "Value"}'</command>
|
|
<implicit_key>false</implicit_key>
|
|
</executable>
|
|
</source>
|
|
|
|
<layout>
|
|
<complex_key_cache>
|
|
<size_in_cells>10000</size_in_cells>
|
|
</complex_key_cache>
|
|
</layout>
|
|
|
|
<lifetime>300</lifetime>
|
|
</dictionary>
|
|
|
|
<dictionary>
|
|
<name>complex_executable_cache_dictionary_implicit_key</name>
|
|
|
|
<structure>
|
|
<key>
|
|
<attribute>
|
|
<name>id</name>
|
|
<type>UInt64</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
<attribute>
|
|
<name>id_key</name>
|
|
<type>String</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
</key>
|
|
|
|
<attribute>
|
|
<name>value</name>
|
|
<type>String</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
</structure>
|
|
|
|
<source>
|
|
<executable>
|
|
<format>JSONEachRow</format>
|
|
<command>awk '{ print "{\"id\":" $1 ",\"value\":\"Value\"}"}'</command>
|
|
<implicit_key>true</implicit_key>
|
|
</executable>
|
|
</source>
|
|
|
|
<layout>
|
|
<complex_key_cache>
|
|
<size_in_cells>10000</size_in_cells>
|
|
</complex_key_cache>
|
|
</layout>
|
|
|
|
<lifetime>300</lifetime>
|
|
</dictionary>
|
|
|
|
</dictionaries>
|