public class Query extends Object implements Serializable
Statement
s .
Statement
s in the Query would be AND
ed to each other.Statement
,
Serialized FormConstructor and Description |
---|
Query() |
Modifier and Type | Method and Description |
---|---|
void |
addStatement(Statement statement)
Add statement to the query.
|
String |
getObjectType()
Get object type for which query is executed.
|
Map<String,Object> |
getQueryParams()
Build and return a Map of the params for the query.
|
String |
getQueryString()
Get query string.
|
SortField[] |
getSortFields()
Get SortFields in the query.
|
List<Statement> |
getStatements()
Get statements in the query.
|
void |
setObjectType(String objectType)
Sets object type for executing query.
|
void |
setQueryString(String queryString)
Sets query string.
|
void |
setSortFields(SortField[] sortFields)
Sets SortFields in the query.
|
void |
setStatements(List<Statement> statements)
Sets statement in the query.
|
public String getQueryString() throws ICCException
ICCException
public Map<String,Object> getQueryParams()
public void setQueryString(String queryString)
queryString
- the queryString to setpublic List<Statement> getStatements()
public void setStatements(List<Statement> statements)
statements
- the statements to setpublic String getObjectType()
public void setObjectType(String objectType)
objectType
- the objectType to setpublic void addStatement(Statement statement)
statement
- statement to add to the query.public SortField[] getSortFields()
public void setSortFields(SortField[] sortFields)
sortFields
- the SortFields to setCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.