/** * Constructs query for the given search string. * * @param type Type. * @param txt Search string. */ public TextQuery(String type, String txt) { setType(type); setText(txt); }
/** * Constructs query for the given search string. * * @param type Type. * @param txt Search string. */ public TextQuery(Class<?> type, String txt) { setType(type); setText(txt); }
/** * Constructs query for the given search string. * * @param type Type. * @param txt Search string. */ public TextQuery(String type, String txt) { setType(type); setText(txt); }
/** * Constructs query for the given search string. * * @param type Type. * @param txt Search string. */ public TextQuery(Class<?> type, String txt) { setType(type); setText(txt); }