public class CloudantQbe extends RESTQbe
Modifier and Type | Field and Description |
---|---|
com.ibm.json.java.JSONObject |
query |
Constructor and Description |
---|
CloudantQbe(java.lang.String resourceName,
UserInfo userInfo)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getQbe()
Get formatted QBE.
|
boolean |
hasQbe()
Indicates if QBE exists.
|
void |
removeQbe(java.lang.String propName)
Clears QBE clause.
|
void |
resetQbe()
Resets QBE.
|
void |
setQbe(java.lang.String propName,
int op,
boolean value)
Sets boolean QBE.
|
void |
setQbe(java.lang.String propName,
int op,
java.util.Date dt)
Sets Date QBE.
|
void |
setQbe(java.lang.String propName,
int op,
double value)
Sets double QBE.
|
void |
setQbe(java.lang.String propName,
int op,
long value)
Sets Long QBE.
|
void |
setQbe(java.lang.String propName,
int op,
java.lang.String value)
Sets String QBE.
|
getQbe, hasInvalidQbe, setInvalidQbe
public CloudantQbe(java.lang.String resourceName, UserInfo userInfo)
resourceName
- Resource Name.userInfo
- UserInfo objectpublic boolean hasQbe()
public void removeQbe(java.lang.String propName)
public void setQbe(java.lang.String propName, int op, java.lang.String value)
public void setQbe(java.lang.String propName, int op, long value)
public void setQbe(java.lang.String propName, int op, boolean value)
public void setQbe(java.lang.String propName, int op, double value)
public void setQbe(java.lang.String propName, int op, java.util.Date dt)
public java.lang.Object getQbe()