package com.huigou.uasp.bmp.opm.application;

import com.huigou.uasp.bmp.common.easysearch.domain.model.EasySearchParse;
import com.huigou.uasp.bmp.common.easysearch.domain.model.QuerySchemeField;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;
import java.util.function.Predicate;

/**
 * @author yonghuan
 */
public interface MemEasySearcher<T> {

    Map<String, Object> search(Iterable<T> source, EasySearchParse searchPars, Pageable pageable, Predicate<? super T> filter);

}
