org.fingertip.simpledao.query.JoinQuery Maven / Gradle / Ivy
The newest version!
package org.fingertip.simpledao.query;
import org.fingertip.simpledao.enums.JoinType;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class JoinQuery implements IQuery{
private JoinType joinType;
private String table;
private List queries;
private JoinQuery joinQuery;
public JoinQuery(JoinType joinType, String table, ICriteria... queries) {
this.joinType = joinType;
this.table = table;
this.queries = new ArrayList<>();
Collections.addAll(this.queries, queries);
}
@Override
public String getSql() {
return null;
}
@Override
public List