public abstract class MultiResultCommand extends Command
Modifier and Type | Field and Description |
---|---|
static int |
CURSOR_SIZE
The default cursor size
|
Constructor and Description |
---|
MultiResultCommand(Connection connection,
Pattern pattern)
std.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSQLCommand(SQLCommand sql) |
void |
appendResult(org.w3c.dom.Element group,
int seq)
Append the result to the result group.
|
protected abstract void |
execute(Parser p)
execute the command.
|
execute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitle
public static final int CURSOR_SIZE
public MultiResultCommand(Connection connection, Pattern pattern)
connection
- the connectionpattern
- the patternprotected abstract void execute(Parser p) throws java.lang.Exception
public final void appendResult(org.w3c.dom.Element group, int seq) throws java.lang.Exception
appendResult
in class Command
group
- The result group to be appended toseq
- The sequence number of the result setjava.lang.Exception
- A serious problemprotected void addSQLCommand(SQLCommand sql)
sql
- the sqlstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.