public class SequenceCommand extends SQLCommand
SEQUENCE [CREATE create_name]|[NEXT sequence_name]|[LIST]Usage
SEQUENCE NEXT sequence_nameTHREAD MODE: SINGLE THREADED command
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_CREATE
the create type
|
static java.lang.String |
TYPE_LIST
the create list
|
static java.lang.String |
TYPE_NEXT
the create next
|
CURSOR_SIZE| Constructor and Description |
|---|
SequenceCommand(Connection connection,
Pattern pattern)
std.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Parser p)
execute the command.
|
java.lang.String |
getColumnName(int col)
the column name
|
java.lang.String |
getColumnType(int col)
get the column type
|
java.lang.String |
getRecordID(int row)
the record ID
|
java.lang.Object |
getValue(int row,
int col)
get the value
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic static final java.lang.String TYPE_CREATE
public static final java.lang.String TYPE_LIST
public static final java.lang.String TYPE_NEXT
public SequenceCommand(Connection connection, Pattern pattern)
connection - the connectionpattern - the patternprotected void execute(Parser p) throws java.lang.Exception
public java.lang.String getColumnName(int col)
col - the columnpublic java.lang.String getColumnType(int col)
col - the columnpublic java.lang.String getRecordID(int row)
row - the rowpublic java.lang.Object getValue(int row,
int col)
throws java.sql.SQLException
row - the rowcol - the coljava.sql.SQLException - a problem.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.