* @param from second query from parameter
* @param to second query to parameter
*/
public void and(String key1, String pattern, String key2, int from, int to) {
System.out.println("key1.startsWith(pattern) AND key2.between(from,to) query.");
Query query = new And(new StartsWith(key1,pattern),new Between(key2,from,to));
executeQuery(query);
}