private static String getJoinType(final int type) {
        String sType;
        switch (type) {
            case TYPE_INNER_JOIN:
                sType = "INNER";
                break;
            case TYPE_LEFT_JOIN:
                sType = "LEFT";
                break;
            case TYPE_OUTER_JOIN:
                sType = "OUTER";
                break;
            case TYPE_RIGHT_JOIN:
                sType = "RIGHT";
                break;
            default:
                sType = "INNER";
        }
        return sType;
    }