This project has retired. For details please refer to its Attic page.
XJoinChain (Lens 2.0.1-beta-incubating API)

org.apache.lens.api.metastore
Class XJoinChain

java.lang.Object
  extended by org.apache.lens.api.metastore.XJoinChain

public class XJoinChain
extends Object

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>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="paths" type="{uri:lens:cube:0.1}x_join_paths"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="display_string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dest_table" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XJoinChain()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 String getDestTable()
          Gets the value of the destTable property.
 String getDisplayString()
          Gets the value of the displayString property.
 String getName()
          Gets the value of the name property.
 XJoinPaths getPaths()
          Gets the value of the paths property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDestTable(String value)
          Sets the value of the destTable property.
 void setDisplayString(String value)
          Sets the value of the displayString property.
 void setName(String value)
          Sets the value of the name property.
 void setPaths(XJoinPaths value)
          Sets the value of the paths property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XJoinChain

public XJoinChain()
Method Detail

getPaths

public XJoinPaths getPaths()
Gets the value of the paths property.

Returns:
possible object is XJoinPaths

setPaths

public void setPaths(XJoinPaths value)
Sets the value of the paths property.

Parameters:
value - allowed object is XJoinPaths

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getDisplayString

public String getDisplayString()
Gets the value of the displayString property.

Returns:
possible object is String

setDisplayString

public void setDisplayString(String value)
Sets the value of the displayString property.

Parameters:
value - allowed object is String

getDestTable

public String getDestTable()
Gets the value of the destTable property.

Returns:
possible object is String

setDestTable

public void setDestTable(String value)
Sets the value of the destTable property.

Parameters:
value - allowed object is String


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.