gu.sql2java.IFuzzyMatchFilter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sql2java-base Show documentation
Show all versions of sql2java-base Show documentation
sql2java common class package
package gu.sql2java;
import com.google.common.base.Predicate;
/**
* 模糊搜索匹配接口
* @author guyadong
*
*/
public interface IFuzzyMatchFilter extends Predicate{
public static interface MatchErrorHandler{
public void onMatchError(Throwable e, K pattern);
}
IFuzzyMatchFilter withPattern(K pattern, int matchFlags);
IFuzzyMatchFilter withErrorHandler(MatchErrorHandler errorHandler);
}