group.flyfish.fluent.query.SimpleQuery Maven / Gradle / Ivy
package group.flyfish.fluent.query;
import group.flyfish.fluent.chain.SQLSegment;
import group.flyfish.fluent.utils.sql.ConcatSegment;
import group.flyfish.fluent.utils.sql.SFunction;
import org.springframework.lang.Nullable;
import org.springframework.util.CollectionUtils;
import java.util.ArrayList;
import java.util.Collection;
import java.util.stream.Collectors;
import static group.flyfish.fluent.query.ConcatCandidate.AND;
import static group.flyfish.fluent.query.ConcatCandidate.OR;
/**
* 查询构建器api
*
* @author wangyu
*/
class SimpleQuery extends ConcatSegment implements Query {
// 参数源
private final Collection