|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.api.metastore.XJoinChain
public class XJoinChain
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 |
---|
public XJoinChain()
Method Detail |
---|
public XJoinPaths getPaths()
XJoinPaths
public void setPaths(XJoinPaths value)
value
- allowed object is
XJoinPaths
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public String getDisplayString()
String
public void setDisplayString(String value)
value
- allowed object is
String
public String getDestTable()
String
public void setDestTable(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |