Package org.tentackle.wurblet
Class JoinPath
- java.lang.Object
-
- org.tentackle.wurblet.JoinPath
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JoinfindJoin(java.util.List<org.tentackle.model.Relation> relations)Find the join for given relation path.java.util.List<Join>getElements()java.util.List<JoinPath>getPaths()voidnormalize()Normalizes the join and all subjoins.
A normalized join contains only a single element.java.lang.StringtoString()
-
-
-
Method Detail
-
getElements
public java.util.List<Join> getElements()
-
getPaths
public java.util.List<JoinPath> getPaths()
-
findJoin
public Join findJoin(java.util.List<org.tentackle.model.Relation> relations)
Find the join for given relation path.- Parameters:
relations- the relation path- Returns:
- the join if found, else null
-
normalize
public void normalize()
Normalizes the join and all subjoins.
A normalized join contains only a single element.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-