public class SqlPagingCommand extends SQLCommand
SQL_PAGING_COMMAND
SQL_STATEMENT sql
SIZE pageSize
CURRENT_PAGE pageNo
THREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
SqlPagingCommand(Connection connection,
Pattern pattern) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Parser p)
execute the command.
|
java.lang.String |
getColumnName(int col)
Not mandatory to supply a key for the row as well.
|
java.lang.String |
getColumnType(int col)
get the column type
|
java.lang.String |
getRecordID(int row)
We are at the last row when we return null for the record ID.
|
java.lang.Object |
getValue(int row,
int col)
The value for this column/row
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic SqlPagingCommand(Connection connection, Pattern pattern)
protected void execute(Parser p) throws java.lang.Exception
Commandpublic java.lang.String getRecordID(int row)
CommandBuildResultsPluginrow - The row number ( offset from 1)public java.lang.String getColumnName(int col)
CommandBuildResultsPlugincol - The column number ( offset from 1)public java.lang.String getColumnType(int col)
throws java.lang.Exception
CommandBuildResultsPlugincol - The column number ( offset from 1)java.lang.Exception - A serious problempublic java.lang.Object getValue(int row,
int col)
throws java.lang.Exception
CommandBuildResultsPluginrow - The row number ( offset from 1)col - The column number ( offset from 1)java.lang.Exception - A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.