Hitachi Vantara Pentaho Community Wiki
Child pages
  • property-map-list
Skip to end of metadata
Go to start of metadata

A list of property maps of Java Strings. The list is represented as a java.util.ArrayList of java.util.Map objects.

Example:

This XML node defines a property-map with the name fruit-data with 3 property-map sets. Items in the list are contained within <entry key="xxx"> nodes. Property map lists are sometimes used to store the result of a database query. Each property map in the list represents 1 row of data with the keys mapping to column names and the values mapping to data cells.

<fruit-data type="property-map-list">
    <default-value type="property-map-list">
        <property-map>
            <entry key="name">orange</entry>
            <entry key="color">orange</entry>
            <entry key="shape">sphere</entry>
            <entry key="texture">dimply</entry>
        </property-map>
        <property-map>
            <entry key="name">grapefruit</entry>
            <entry key="color">Yellow</entry>
            <entry key="shape">sphere</entry>
            <entry key="texture">dimply</entry>
        </property-map>
        <property-map>
            <entry key="name">cucumber</entry>
            <entry key="color">green</entry>
            <entry key="shape">ellipsoid</entry>
            <entry key="texture">smooth</entry>
        </property-map>
    </default-value>
</fruit-data>
  • No labels