|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.gcs.db.component.ConfigTableDef
This class defines the constants for the database table CONFIGTABLE. The table stores serialized XML Configuration information used by the URLs in the URL_TABLE. The table is defined by the following SQL CREATE statement:
create table CONFIGTABLE( CONFIG_NAME varchar( 100 ) not null primary key, CONFIG blob( 1M ) )
Field Summary | |
static java.lang.String |
CONFIG
The serialized configuration object: CONFIG . |
static java.lang.String |
CONFIGNAME
A string identifying the configuration object: CONFIG_NAME . |
static java.lang.String |
TABLE
The table name: CONFIGTABLE . |
Constructor Summary | |
ConfigTableDef()
|
Method Summary | |
static void |
createTable(Transaction t)
Given a Transaction object, executes the create statements (which create the table and associated indexes on the table). |
static void |
dropTable(Transaction t)
Given a Transaction object, executes the drop statement. |
static java.util.Enumeration |
getCreateIndexSQL()
Returns the SQL CREATE statements to create the necessary indexes on the CONFIGTABLE. |
static java.lang.String |
getCreateSQL()
Returns the SQL CREATE statement to create the tree table. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TABLE
CONFIGTABLE
.public static final java.lang.String CONFIGNAME
CONFIG_NAME
.
SQL DEF: VARCHAR(100) NOT NULL PRIMARY KEY
public static final java.lang.String CONFIG
CONFIG
.
SQL DEF: BLOB(1M))
Constructor Detail |
public ConfigTableDef()
Method Detail |
public static java.lang.String getCreateSQL()
create table CONFIGTABLE( CRAWL_PATTERN_ID varchar( 100 ) not null primary key, CONFIG blob( 1M ) )
public static void createTable(Transaction t) throws TransactionException
t
- The transaction object through which to execute
the create statements.TransactionException
- on failed SQL update.public static java.util.Enumeration getCreateIndexSQL()
public static void dropTable(Transaction t) throws TransactionException
t
- The transaction object through which to execute
the drop statements.TransactionException
- on failed SQL update.
|
EIP Web Crawler APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |