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

A property map of Java String objects, represented by the java.util.Map interface. The concrete class used by the engines is org.apache.commons.collections.map.ListOrderedMap data type.

Example:

This XML node defines a property-map with the name veggie-data with 4 name value pairs. Items in the list are contained within <entry key="xxx"> nodes. Property maps are sometimes used to represent a single row of data from a database query. The keys map to column names and the value maps to that column's data.

<veggie-data type="property-map ">
    <default-value type="property-map">
        <property-map>
            <entry key="name">carrot</entry>
            <entry key="color">orange</entry>
            <entry key="shape">cone</entry>
            <entry key="texture">bumpy</entry>
        </property-map>
    </default-value>
</veggie-data>
  • No labels