public abstract class AbstractSelectQuery extends Object
| Constructor and Description |
|---|
AbstractSelectQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_getAttributes() |
protected String |
_getDistinct() |
protected String |
_getFilters() |
protected String |
_getGroups() |
protected String |
_getLimits() |
protected String |
_getOrders() |
protected String |
_getTables() |
abstract org.gcube.common.dbinterface.attributes.Attribute[] |
getAttributes() |
String |
getExpression() |
abstract org.gcube.common.dbinterface.Condition |
getFilter() |
abstract org.gcube.common.dbinterface.attributes.Attribute[] |
getGroups() |
abstract org.gcube.common.dbinterface.Limit |
getLimit() |
abstract org.gcube.common.dbinterface.Order[] |
getOrders() |
String |
getResultAsJSon(boolean useTableCount,
boolean... resultSetReuse) |
String |
getResultAsJSon(org.gcube.common.dbinterface.pool.DBSession session,
boolean useTableCount,
boolean... resultSetReuse) |
ResultSet |
getResults(boolean... resultSetReuse) |
ResultSet |
getResults(org.gcube.common.dbinterface.pool.DBSession session,
boolean... resultSetReuse) |
abstract org.gcube.common.dbinterface.tables.Table[] |
getTables() |
abstract boolean |
isUseDistinct() |
String |
toString() |
public String getExpression()
protected String _getAttributes()
protected String _getFilters()
protected String _getOrders()
protected String _getTables()
protected String _getLimits()
protected String _getGroups()
protected String _getDistinct()
public abstract org.gcube.common.dbinterface.Order[] getOrders()
public abstract org.gcube.common.dbinterface.Limit getLimit()
public abstract org.gcube.common.dbinterface.Condition getFilter()
public abstract org.gcube.common.dbinterface.attributes.Attribute[] getAttributes()
public abstract org.gcube.common.dbinterface.tables.Table[] getTables()
public abstract org.gcube.common.dbinterface.attributes.Attribute[] getGroups()
public abstract boolean isUseDistinct()
public String getResultAsJSon(boolean useTableCount, boolean... resultSetReuse) throws Exception
Exceptionpublic String getResultAsJSon(org.gcube.common.dbinterface.pool.DBSession session, boolean useTableCount, boolean... resultSetReuse) throws Exception
session - Exceptionpublic ResultSet getResults(boolean... resultSetReuse) throws Exception
Exceptionpublic ResultSet getResults(org.gcube.common.dbinterface.pool.DBSession session, boolean... resultSetReuse) throws Exception
session - SQLExceptionExceptionCopyright © 2016. All Rights Reserved.