public class CursorCommand extends Command
CURSOR [FETCH name, offset, size] | [ CLOSE name] | [SET option]Usage
/* Returns the next 100 rows from position 200 */ CURSOR FETCH c1, 200, 100; /* Closes the cursor of c1 */ CURSOR CLOSE c1; /* Sets the global option to request rowcount */ CURSOR SET rowcount=true;THREAD MODE: SINGLE THREADED command
Constructor and Description |
---|
CursorCommand(Connection connection,
Pattern pattern)
std.
|
Modifier and Type | Method and Description |
---|---|
void |
appendResult(org.w3c.dom.Element group,
int seq)
append the results.
|
protected void |
execute(Parser p)
execute the command.
|
execute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitle
public CursorCommand(Connection connection, Pattern pattern)
connection
- the connectionpattern
- the patternpublic final void appendResult(org.w3c.dom.Element group, int seq) throws java.lang.Exception
appendResult
in class Command
group
- the result group.seq
- the sequence.java.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.