-
Notifications
You must be signed in to change notification settings - Fork 2
/
Query.java
35 lines (34 loc) · 878 Bytes
/
Query.java
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
public class Query{
protected String dName;
protected String tName;
protected JSONArray fileData;
public Query(){}
public Query(String d,String t){
dName=d;
tName=t;
/*
go to folder dName
go to file tName
*/
}
public Insert insert(JSON object){
/**/
Insert insNew = new Insert(object);
return insNew;
}
public Find find(String f,JSON object){
/**/
Find findNew = new Find(f,object);
return findNew;
}
public Delete delete(String d,JSON object){
/**/
Delete delNew = new Insert(d,object);
return delNew;
}
public Update update(String u,JSON object1,JSON object2){
/**/
Update updNew = new Insert(u,object1,object2);
return updNew;
}
}