org.tresamigos.smv
SmvHierarchy combines a hierarchy Map (a SmvOutput) with the hierarchy structure. The hierarchy sequence ordered from "small" to "large". For example:
SmvHierarchy
hierarchy
SmvHierarchy("zipmap", ZipTable, Seq("zip", "county", "state"))
where ZipTable is a SmvOutput which has zip, county, state as its columns and zip is the primary key (unique) of that table.
ZipTable
SmvOutput
zip
county
state
SmvHierarchycombines a hierarchy Map (a SmvOutput) with the hierarchy structure. Thehierarchysequence ordered from "small" to "large". For example:where
ZipTableis aSmvOutputwhich haszip,county,stateas its columns andzipis the primary key (unique) of that table.