public final class CommandBuildResultsUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CURSOR_SIZE
the default cursor size
|
Modifier and Type | Method and Description |
---|---|
static void |
appendResult(CommandBuildResultsPlugin plugin,
Connection connection,
org.w3c.dom.Element group,
int seq)
append the result set to a result group.
|
static void |
appendResult(CommandBuildResultsPlugin plugin,
Connection connection,
org.w3c.dom.Element group,
int offset,
int size,
java.lang.String cursorName,
int seq)
Append a result set to a result group for a cursor.
|
static java.lang.String[] |
getAttributeNames(CommandBuildResultsAttPlugin plugin,
int row)
The attribute Names for this row.
|
static java.lang.String[] |
getAttributeNames(CommandBuildResultsAttPlugin plugin,
int row,
int col)
The attribute value for this column/row.
|
static java.lang.String |
makeString(CommandBuildResultsPlugin plugin,
Connection connection,
java.util.ArrayList columns,
int row,
int col)
The string value for this column/row.
|
public static final int CURSOR_SIZE
public static void appendResult(CommandBuildResultsPlugin plugin, Connection connection, org.w3c.dom.Element group, int seq) throws java.lang.Exception
plugin
- The pluginconnection
- the connectiongroup
- The XML Element for the result groupseq
- The sequence in the result group.java.lang.Exception
- A serious problem.public static void appendResult(CommandBuildResultsPlugin plugin, Connection connection, org.w3c.dom.Element group, int offset, int size, java.lang.String cursorName, int seq) throws java.lang.Exception
plugin
- The pluginconnection
- the connectiongroup
- The XML Element for the result groupoffset
- The row offsetsize
- The number of rows to appendcursorName
- The cursor name to useseq
- The sequence number in the result group.java.lang.Exception
- A serious problem.public static java.lang.String[] getAttributeNames(CommandBuildResultsAttPlugin plugin, int row) throws java.lang.Exception
plugin
- The pluginrow
- The row number ( offset from 1)java.lang.Exception
- A serious problempublic static java.lang.String[] getAttributeNames(CommandBuildResultsAttPlugin plugin, int row, int col) throws java.lang.Exception
plugin
- The pluginrow
- The row number ( offset from 1)col
- The column number (offset from 1)java.lang.Exception
- A serious problempublic static java.lang.String makeString(CommandBuildResultsPlugin plugin, Connection connection, java.util.ArrayList columns, int row, int col) throws java.lang.Exception
plugin
- The pluginconnection
- the connectioncolumns
- the columnsrow
- 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.