Package nz.org.riskscape.engine.join
Interface Join
public interface Join
Interface for classes that can join a relation on to another relation, tuple at a time. Will eventually replace the query packaged Join type.
-
Method Summary
Modifier and TypeMethodDescriptionThe type of tuple thatjoin(Tuple, Tuple)
produces.Whether left, inner etcgetLhs()
Expected type of the lhs of this joingetOn()
Used to determine whether tuples should be joined or notgetRhs()
Expected type of the rhs of this joinCreate a joined tuple of joinedType that can be used with our joinCondition
-
Method Details
-
getLhs
Struct getLhs()Expected type of the lhs of this join
-
getRhs
Struct getRhs()Expected type of the rhs of this join
-
getJoinedType
Struct getJoinedType()The type of tuple that
join(Tuple, Tuple)
produces. -
getOn
JoinCondition getOn()Used to determine whether tuples should be joined or not
-
getJoinType
JoinType getJoinType()Whether left, inner etc
-
join
Create a joined tuple of joinedType that can be used with our joinCondition
-