|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.db.sql.Query
com.caucho.db.sql.SelectQuery
public class SelectQuery
| Field Summary |
|---|
| Fields inherited from class com.caucho.db.sql.Query |
|---|
_whereExpr |
| Method Summary | |
|---|---|
protected void |
bind()
Binds the query. |
void |
execute(QueryContext context,
Transaction xa)
Executes the query. |
boolean |
isSelect()
Returns true for select queries. |
void |
setGroupResult(int index)
Sets the result item as group. |
void |
setLimit(int limit)
Sets the maximum entires |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.db.sql.Query |
|---|
bind, clearParameters, freeRows, generateWhere, getDatabase, getDataFields, getFromItems, getParamExprs, getParent, getSubSelect, getWhereExprs, isGroup, isReadOnly, nextTuple, setBinaryStream, setBoolean, setBytes, setDataFields, setDate, setDouble, setFromItems, setFromItems, setGroup, setLong, setParams, setParent, setString, setSubSelect, setWhereExpr, setWhereExprs, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setGroupResult(int index)
protected void bind()
throws java.sql.SQLException
Query
bind in class Queryjava.sql.SQLExceptionpublic void setLimit(int limit)
Query
setLimit in class Querypublic boolean isSelect()
isSelect in class Query
public void execute(QueryContext context,
Transaction xa)
throws java.sql.SQLException
execute in class Queryjava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||