Splitting can be supported on the map keys that are one
of the supported types listed above. <propertyAnnotations>
<property name="stringProperty">
<fieldAnnotation>
<splitPattern>3</splitPattern>
</fieldAnnotation>
</property>
</propertyAnnotations>
You can specify the split order for Map/extendedMap keys as follows: <entityDescriptor entity="lc.content.Employee">
<nodeAnnotation>
<folder>Employee</folder>
<splitOn>name,myMap,age</splitOn>
</nodeAnnotation>
<propertyAnnotations>
<property name="name">
<fieldAnnotation>
<splitPattern>3</splitPattern>
</fieldAnnotation>
</property>
<property name="myMap">
<fieldAnnotation>
<splitPattern>key1:yyyy-mm,key2:50</splitPattern>
</fieldAnnotation>
</property>
<!-- No annotation defined for age. Hence default will be used -->
</propertyAnnotations>
</entityDescriptor>
Order of split is the merge of node annotation order with the
split pattern map order -> name, myMap/key1, myMap/key2, age.
|
|
|