public class SelectQuery extends Query
_whereExpr
Modifier and Type | Method and Description |
---|---|
protected void |
bind()
Binds the query.
|
void |
execute(QueryContext context,
DbTransaction xa)
Executes the query.
|
SelectCursor |
executeCursor(QueryContext context,
DbTransaction xa)
Executes the query.
|
boolean |
isSelect()
Returns true for select queries.
|
boolean |
nextCursor(TableIterator[] rows,
QueryContext context,
DbTransaction xa)
Executes the query.
|
void |
setGroupResult(int index)
Sets the result item as group.
|
void |
setLimit(int limit)
Sets the maximum entires
|
java.lang.String |
toString() |
bind, freeRows, generateWhere, getDatabase, getDataFields, getFromItems, getParamExprs, getParent, getSubSelect, getWhereExprs, isGroup, isReadOnly, isSelect, nextTuple, setDataFields, setFromItems, setFromItems, setGroup, setParams, setParent, setSubSelect, setWhereExpr, setWhereExprs, start
public void setGroupResult(int index)
protected void bind() throws java.sql.SQLException
Query
public void setLimit(int limit)
Query
public boolean isSelect()
public void execute(QueryContext context, DbTransaction xa) throws java.sql.SQLException
public SelectCursor executeCursor(QueryContext context, DbTransaction xa) throws java.sql.SQLException
executeCursor
in class Query
java.sql.SQLException
public final boolean nextCursor(TableIterator[] rows, QueryContext context, DbTransaction xa) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String toString()
toString
in class java.lang.Object