app/src/main/java/db/juhaku/juhakudb/filter/QueryProcessor.java
/**
     * Creates join sql with given join mode to target table according given parameters.
     *
     * @param sql Instance of {@link StringBuilder} where to append the sql.
     * @param joinMode Instance of {@link JoinMode} that is being used with this join.
     * @param toTable String name of the table that join is being made.
     * @param fromColumn String name of the from join column.
     * @param fromAlias String alias of from join column.
     * @param toColumn String name of the to join column.
     * @param toAlias String alias of to join column.
     * @param reverse boolean value whether reverse join is reversed.
     *
     * @since 1.2.0
     *
     * @hide
     */
Creates join sql with given join mode to target table according given parameters.
@param sql Instance of  StringBuilder where to append the sql.
@param joinMode Instance of  JoinMode that is being used with this join.
@param toTable String name of the table that join is being made.
@param fromColumn String name of the from join column.
@param fromAlias String alias of from join column.
@param toColumn String name of the to join column.
@param toAlias String alias of to join column.
@param reverse boolean value whether reverse join is reversed.



@hide
Creates join sql with given join mode to target table according given parameters . @param sql Instance of StringBuilder where to append the sql . @param joinMode Instance of JoinMode that is being used with this join . @param toTable String name of the table that join is being made . @param fromColumn String name of the from join column . @param fromAlias String alias of from join column . @param toColumn String name of the to join column . @param toAlias String alias of to join column . @param reverse boolean value whether reverse join is reversed . @hide
private void joinSql(StringBuilder sql, JoinMode joinMode, String toTable, String fromColumn,
                         String fromAlias, String toColumn, String toAlias, boolean reverse) {
        sql.append(joinMode.getValue()).append(" ").append(toTable)
                .append(" ").append(toAlias).append(" ON ").append(reverse ? toAlias : fromAlias).append(".")
                .append(fromColumn).append(" = ").append(reverse ? fromAlias : toAlias).append(".")
                .append(toColumn).append(" ");
    }
private void joinSql ( StringBuilder sql , JoinMode joinMode , String toTable , String fromColumn , String fromAlias , String toColumn , String toAlias , boolean reverse ) { sql . append ( joinMode . getValue ( ) ) . append ( " " ) . append ( toTable ) . append ( " " ) . append ( toAlias ) . append ( " ON " ) . append ( reverse ? toAlias : fromAlias ) . append ( "." ) . append ( fromColumn ) . append ( " = " ) . append ( reverse ? fromAlias : toAlias ) . append ( "." ) . append ( toColumn ) . append ( " " ) ; }
Creates join sql with given join mode to target table according given parameters.
Creates join sql with given join mode to target table according given parameters .