public class Query extends Object implements CheckableElement
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
datasources |
protected HavingExpression |
havingExpression |
protected ReturnType |
returnType |
protected List<Term> |
terms |
protected WhereExpression |
whereExpression |
| Constructor and Description |
|---|
Query() |
| Modifier and Type | Method and Description |
|---|---|
List<QueryError> |
check() |
List<String> |
getDatasources() |
HavingExpression |
getHavingExpression() |
ReturnType |
getReturnType() |
List<Term> |
getTerms() |
WhereExpression |
getWhereExpression() |
void |
setDatasources(List<String> datasources) |
void |
setHavingExpression(HavingExpression havingExpression) |
void |
setReturnType(ReturnType returnType) |
void |
setTerms(List<Term> terms) |
void |
setWhereExpression(WhereExpression whereExpression) |
protected WhereExpression whereExpression
protected ReturnType returnType
protected HavingExpression havingExpression
public void setDatasources(List<String> datasources)
datasources - the datasources to setpublic WhereExpression getWhereExpression()
public void setWhereExpression(WhereExpression whereExpression)
whereExpression - the whereExpression to setpublic ReturnType getReturnType()
public void setReturnType(ReturnType returnType)
returnType - the returnType to setpublic HavingExpression getHavingExpression()
public void setHavingExpression(HavingExpression havingExpression)
havingExpression - the havingExpression to setpublic List<QueryError> check()
check in interface CheckableElementCopyright © 2018. All Rights Reserved.