private void addJoinInfo ( JoinType type , String localColumnName , String joinedColumnName , QueryBuilder < ? , ? > joinedQueryBuilder , JoinWhereOperation operation ) throws SQLException { JoinInfo joinInfo = new JoinInfo ( type , joinedQueryBuilder , operation ) ; if ( localColumnName == null ) { matchJoinedFields ( joinInfo , joinedQueryBuilder ) ; } else { matchJoinedFieldsByName ( joinInfo , localColumnName , joinedColumnName , joinedQueryBuilder ) ; } if ( joinList == null ) { joinList = new ArrayList < JoinInfo > ( ) ; } joinList . add ( joinInfo ) ; }
Add join info to the query . This can be called multiple times to join with more than one table .