Join chain represents the paths to reach a dimension. For example, to reach Country from SalesCube, there can be the following equivalent paths: SalesCube.deliveryStateid -> State.id, State.countryid -> Country.id SalesCube.deliveryCityid -> City.id, City.stateid -> State.id, State.countryid ->Country.id Both the above paths will be associated with same join chain i.e with same name, if they are equivalent and at runtime, LENS will choose the path to use. If the paths are not equivalent, they should be named differently. SalesCube.productionStateid -> State.id, State.countryid ->Country.id will be named differently.
Java class for x_join_chain complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="x_join_chain"> <complexContent> <extension base="{uri:lens:cube:0.1}x_field"> <sequence> <element name="paths" type="{uri:lens:cube:0.1}x_join_paths"/> </sequence> <attribute name="dest_table" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
uri:lens:cube:0.1
name | data type | type | namespace | min/max occurs | constraints | description |
---|---|---|---|---|---|---|
dest_table | string | attribute | 0/1 | |||
paths | x_join_paths | element | ns2 | 1/1 | required | |
Properties inherited from x_field |
||||||
description | string | attribute | 0/1 | |||
display_string | string | attribute | 0/1 | |||
name | string | attribute | 1/1 | |||
tags | x_properties | element | ns2 | 0/1 |
Example
<x----- description="..." dest_table="..." display_string="..." name="..." xmlns="uri:lens:cube:0.1"> <paths> <path> <edges/> </path> </paths> <tags> <property/> </tags> </x----->