XJoinChain Data Type

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>
 

Properties
name data type description
dest_table string
paths XJoinPaths
Properties inherited from XField
name string
tags XProperties

Example

{
  "dest_table" : "...",
  "paths" : {
    "path" : [ [ {
      "edges" : { }
    }, {
      "edges" : { }
    } ], [ {
      "edges" : { }
    }, {
      "edges" : { }
    } ] ]
  },
  "name" : "...",
  "tags" : {
    "property" : [ [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ], [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ] ]
  }
}