net.ontopia.persistence.query.sql
Class SQLQuery
java.lang.Object
net.ontopia.persistence.query.sql.SQLQuery
public class SQLQuery
- extends java.lang.Object
INTERNAL: Represents an abstract SQL query. Holds SQL query
information in a platform independent form.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
select
protected java.util.List select
distinct
protected boolean distinct
limit
protected int limit
offset
protected int offset
filter
protected SQLExpressionIF filter
orderby
protected java.util.List orderby
SQLQuery
public SQLQuery()
isSetQuery
public boolean isSetQuery()
getDistinct
public boolean getDistinct()
setDistinct
public void setDistinct(boolean distinct)
getLimit
public int getLimit()
setLimit
public void setLimit(int limit)
getOffset
public int getOffset()
setOffset
public void setOffset(int offset)
getSelect
public java.util.List getSelect()
addSelect
public void addSelect(SQLValueIF value)
addSelect
public void addSelect(SQLAggregateIF aggregate)
getWidth
public int getWidth()
getOrderBy
public java.util.List getOrderBy()
addOrderBy
public void addOrderBy(SQLOrderBy sob)
addAscending
public void addAscending(SQLValueIF value)
addDescending
public void addDescending(SQLValueIF value)
addAscending
public void addAscending(SQLAggregateIF aggregate)
addDescending
public void addDescending(SQLAggregateIF aggregate)
getFilter
public SQLExpressionIF getFilter()
setFilter
public void setFilter(SQLExpressionIF filter)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2012 Ontopia.