|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jpattern.orm.query.AQuery
com.googlecode.jpattern.orm.query.ABaseOrmQuery
public abstract class ABaseOrmQuery
| Constructor Summary | |
|---|---|
ABaseOrmQuery()
|
|
| Method Summary | |
|---|---|
void |
appendValues(List<Object> values)
Append to the list all the values of the expression's elements |
IJoin |
join()
Add join tables to the from clause. |
IOrderBy |
orderBy()
Set the order by clause. |
protected abstract void |
renderFrom(StringBuffer stringBuffer)
|
protected abstract void |
renderOrderBy(StringBuffer stringBuffer)
|
protected abstract void |
renderSelect(StringBuffer stringBuffer)
|
String |
renderSql()
Return the sql query generated by this IQuery Object |
void |
renderSql(StringBuffer stringBuffer)
Append to the string buffer the sql query generated by this IQuery Object |
protected abstract void |
renderWhere(StringBuffer stringBuffer)
|
protected void |
setJoin(IJoin join)
|
protected void |
setOrderBy(OrderBy orderBy)
|
protected void |
setWhere(IExpression whereExpression)
|
IExpression |
where()
Set the where clause. |
| Methods inherited from class com.googlecode.jpattern.orm.query.AQuery |
|---|
getMaxRows, getQueryTimeout, setMaxRows, setQueryTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.googlecode.jpattern.orm.query.IQuery |
|---|
getMaxRows, getQueryTimeout, setMaxRows, setQueryTimeout |
| Constructor Detail |
|---|
public ABaseOrmQuery()
| Method Detail |
|---|
public final IJoin join()
throws OrmException
IBaseOrmQuery
join in interface IBaseOrmQueryOrmException
public final IExpression where()
throws OrmException
IBaseOrmQuery
where in interface IBaseOrmQueryOrmException
public final IOrderBy orderBy()
throws OrmException
IBaseOrmQuery
orderBy in interface IBaseOrmQueryOrmExceptionprotected final void setWhere(IExpression whereExpression)
protected final void setOrderBy(OrderBy orderBy)
protected final void setJoin(IJoin join)
public final String renderSql()
IRenderableSqlObject
renderSql in interface IRenderableSqlObjectpublic final void renderSql(StringBuffer stringBuffer)
IRenderableSqlObject
renderSql in interface IRenderableSqlObjectprotected abstract void renderOrderBy(StringBuffer stringBuffer)
protected abstract void renderWhere(StringBuffer stringBuffer)
protected abstract void renderFrom(StringBuffer stringBuffer)
protected abstract void renderSelect(StringBuffer stringBuffer)
public final void appendValues(List<Object> values)
IQuery
appendValues in interface IQuery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||