|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.db.DBObject
org.apache.empire.db.DBExpr
org.apache.empire.db.DBCommandExpr
org.apache.empire.db.DBCommand
org.apache.empire.db.h2.DBDatabaseDriverH2.DBCommandH2
public static class DBDatabaseDriverH2.DBCommandH2
Defines the H2 command type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.empire.db.DBCommandExpr |
---|
DBCommandExpr.DBCmdColumn, DBCommandExpr.DBCmdQuery |
Field Summary | |
---|---|
protected int |
limitRows
|
protected int |
skipRows
|
Fields inherited from class org.apache.empire.db.DBCommand |
---|
cmdParams, groupBy, having, joins, log, select, selectDistinct, set, where |
Fields inherited from class org.apache.empire.db.DBCommandExpr |
---|
cmdQuery, orderBy |
Fields inherited from class org.apache.empire.db.DBExpr |
---|
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESES, CTX_VALUE |
Constructor Summary | |
---|---|
DBDatabaseDriverH2.DBCommandH2(DBDatabase db)
|
Method Summary | |
---|---|
void |
clearLimit()
Clears a limit or offset set by calling limit() or offset() |
void |
getSelect(StringBuilder buf)
|
void |
limitRows(int limitRows)
set the maximum number of rows to return when executing a query command A negative value will remove the limit. |
void |
skipRows(int skipRows)
sets the offset of the first row to return when executing a query command. |
Methods inherited from class org.apache.empire.db.DBCommandExpr |
---|
addListExpr, addSQL, clearOrderBy, getCmdColumn, getInsertInto, getInsertInto, getInsertInto, getSelect, intersect, orderBy, orderBy, orderBy, union |
Methods inherited from class org.apache.empire.db.DBExpr |
---|
getObjectValue, getValueClass |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int limitRows
protected int skipRows
Constructor Detail |
---|
public DBDatabaseDriverH2.DBCommandH2(DBDatabase db)
Method Detail |
---|
public void limitRows(int limitRows)
DBCommandExpr
limitRows
in class DBCommandExpr
public void skipRows(int skipRows)
DBCommandExpr
skipRows
in class DBCommandExpr
public void clearLimit()
DBCommandExpr
clearLimit
in class DBCommandExpr
public void getSelect(StringBuilder buf)
getSelect
in class DBCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |