1
2
3
4
5
6
7
8
9
10
11 package org.weda.store.impl;
12
13 import org.weda.store.Query;
14
15 /**
16 *
17 * @author tim
18 */
19 public class QueryImpl implements Query, java.io.Serializable {
20 private int timeout = 60;
21 private String query = null;
22 private int maxRows = 500;
23 private int fetchSize = 40;
24
25 public int getTimeout() {
26 return timeout;
27 }
28
29 public String getQuery() {
30 return query;
31 }
32
33 public int getMaxRows() {
34 return maxRows;
35 }
36
37 public int getFetchSize() {
38 return fetchSize;
39 }
40
41 public void setTimeout(int timeout) {
42 this.timeout = timeout;
43 }
44
45 public void setQuery(String query) {
46 this.query = query;
47 }
48
49 public void setMaxRows(int maxRows) {
50 this.maxRows = maxRows;
51 }
52
53 public void setFetchSize(int fetchSize) {
54 this.fetchSize = fetchSize;
55 }
56
57 }