Package tilda.parsing.parts.helpers
Class JoinHelper
- java.lang.Object
-
- tilda.parsing.parts.helpers.JoinHelper
-
public class JoinHelper extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
JoinHelper.RefDef
-
Constructor Summary
Constructors Constructor Description JoinHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
autoFillImpliedViewJoins(ParserSession PS, View V)
protected static java.util.List<ViewJoin>
computeJoins(ParserSession PS, View V, java.util.List<JoinHelper.RefDef> refs)
Goes through refs and finds if they already have a matching ViewJoin, or if a new one needs to be automatically added.protected static java.util.List<JoinHelper.RefDef>
getReferences(View V)
Goes through all columns in the view and puts together, the list of objects/views references
-
-
-
Method Detail
-
autoFillImpliedViewJoins
public static void autoFillImpliedViewJoins(ParserSession PS, View V)
-
computeJoins
protected static java.util.List<ViewJoin> computeJoins(ParserSession PS, View V, java.util.List<JoinHelper.RefDef> refs)
Goes through refs and finds if they already have a matching ViewJoin, or if a new one needs to be automatically added.- Parameters:
PS
-V
-refs
-- Returns:
-
getReferences
protected static java.util.List<JoinHelper.RefDef> getReferences(View V)
Goes through all columns in the view and puts together, the list of objects/views references- Parameters:
V
-refs
-
-
-