org.gcube.dataaccess.spql.model
Class Query
java.lang.Object
org.gcube.dataaccess.spql.model.Query
- All Implemented Interfaces:
- CheckableElement
public class Query
- extends Object
- implements CheckableElement
- Author:
- "Federico De Faveri defaveri@isti.cnr.it"
|
Constructor Summary |
Query()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
terms
protected List<Term> terms
datasources
protected List<String> datasources
whereExpression
protected WhereExpression whereExpression
returnType
protected ReturnType returnType
havingExpression
protected HavingExpression havingExpression
Query
public Query()
getTerms
public List<Term> getTerms()
- Returns:
- the terms
setTerms
public void setTerms(List<Term> terms)
- Parameters:
terms - the terms to set
getDatasources
public List<String> getDatasources()
- Returns:
- the datasources
setDatasources
public void setDatasources(List<String> datasources)
- Parameters:
datasources - the datasources to set
getWhereExpression
public WhereExpression getWhereExpression()
- Returns:
- the whereExpression
setWhereExpression
public void setWhereExpression(WhereExpression whereExpression)
- Parameters:
whereExpression - the whereExpression to set
getReturnType
public ReturnType getReturnType()
- Returns:
- the returnType
setReturnType
public void setReturnType(ReturnType returnType)
- Parameters:
returnType - the returnType to set
getHavingExpression
public HavingExpression getHavingExpression()
- Returns:
- the havingExpression
setHavingExpression
public void setHavingExpression(HavingExpression havingExpression)
- Parameters:
havingExpression - the havingExpression to set
check
public List<QueryError> check()
- Specified by:
check in interface CheckableElement
Copyright © 2013. All Rights Reserved.