|
||||||||||
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.postgresql.DBDatabaseDriverPostgreSQL.DBCommandPostreSQL
public static class DBDatabaseDriverPostgreSQL.DBCommandPostreSQL
Defines the PostgreSQL command type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.empire.db.DBCommandExpr |
---|
DBCommandExpr.DBCmdColumn, DBCommandExpr.DBCmdQuery |
Field Summary | |
---|---|
protected int |
limit
|
protected int |
skip
|
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 | |
---|---|
DBDatabaseDriverPostgreSQL.DBCommandPostreSQL(DBDatabase db)
|
Method Summary | |
---|---|
void |
clearLimit()
Clears a limit or offset set by calling limit() or offset() |
void |
getSelect(StringBuilder buf)
|
void |
limitRows(int numRows)
set the maximum number of rows to return when executing a query command A negative value will remove the limit. |
void |
skipRows(int numRows)
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 limit
protected int skip
Constructor Detail |
---|
public DBDatabaseDriverPostgreSQL.DBCommandPostreSQL(DBDatabase db)
Method Detail |
---|
public void limitRows(int numRows)
DBCommandExpr
limitRows
in class DBCommandExpr
public void skipRows(int numRows)
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 |