-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuery.java
More file actions
36 lines (27 loc) · 1.03 KB
/
Query.java
File metadata and controls
36 lines (27 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package Frameworkpackage;
import java.util.HashMap;
public class Query {
public String tableName;
public String queryMode;
public HashMap<String, Object> keyValueMap;
public HashMap<String, Object> whereValueMap;
public Query(String tableName, String queryMode, HashMap<String, Object> keyValueMap,HashMap<String, Object> whereValueMap) {
super();
this.tableName = tableName;
this.queryMode = queryMode;
this.keyValueMap = keyValueMap;
this.whereValueMap = whereValueMap;
}
public Query(String tableName, String queryMode, HashMap<String, Object> keyValueMap) {
super();
this.tableName = tableName;
this.queryMode = queryMode;
this.keyValueMap = keyValueMap;
this.whereValueMap = whereValueMap;
}
@Override
public String toString() {
return "Query [tableName=" + tableName + ", queryMode=" + queryMode + ", keyValueMap=" + keyValueMap
+ ", whereValueMap=" + whereValueMap + "]";
}
}