public static class DBDatabaseDriverH2.DBCommandH2 extends DBCommand
DBCommandExpr.DBCmdColumn, DBCommandExpr.DBCmdQuery
Modifier and Type | Field and Description |
---|---|
protected int |
limitRows |
protected int |
skipRows |
cmdParams, groupBy, having, joins, log, select, selectDistinct, set, where
cmdQuery, orderBy
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESES, CTX_VALUE
Constructor and Description |
---|
DBDatabaseDriverH2.DBCommandH2(DBDatabase db) |
Modifier and Type | Method and Description |
---|---|
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.
|
addFrom, addGrouping, addJoins, addOrder, addParam, addParam, addParam, addParam, addReferencedColumns, addSelect, addWhere, addWhere, addWhereConstraints, clear, clearGroupBy, clearHaving, clearJoin, clearSelect, clearSelectDistinct, clearSet, clearWhere, clone, getDatabase, getDelete, getInsert, getJoins, getParamValues, getRowSetList, getSelectExprList, getUpdate, getWhereConstraints, groupBy, hasConstraintOn, hasJoinOn, hasJoinOn, hasSelectExpr, hasSetExprOn, hasWhereConstraints, having, isPreparedStatementsEnabled, isSelectDistinct, isValid, isValidQuery, isValidUpdate, join, join, join, join, join, notifyParamUsage, removeConstraintOn, removeHavingConstraintOn, removeJoinsOn, removeJoinsOn, removeWhereConstraintOn, resetParamUsage, select, select, select, selectDistinct, set, setConstraint, useCmdParam, where
addListExpr, addSQL, clearOrderBy, getCmdColumn, getInsertInto, getInsertInto, getInsertInto, getSelect, intersect, orderBy, orderBy, orderBy, union
getObjectValue, getValueClass
public DBDatabaseDriverH2.DBCommandH2(DBDatabase db)
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)
Copyright © 2008–2015 Apache Software Foundation. All rights reserved.