public static final class FullTextLucene.FullTextTrigger extends java.lang.Object implements Trigger
Constructor and Description |
---|
FullTextTrigger() |
Modifier and Type | Method and Description |
---|---|
void |
close()
INTERNAL
|
void |
fire(java.sql.Connection conn,
java.lang.Object[] oldRow,
java.lang.Object[] newRow)
INTERNAL
|
void |
init(java.sql.Connection conn,
java.lang.String schemaName,
java.lang.String triggerName,
java.lang.String tableName,
boolean before,
int type)
INTERNAL
|
public void init(java.sql.Connection conn, java.lang.String schemaName, java.lang.String triggerName, java.lang.String tableName, boolean before, int type) throws java.sql.SQLException
init
in interface Trigger
conn
- a connection to the database (a system connection)schemaName
- the name of the schematriggerName
- the name of the trigger used in the CREATE TRIGGER
statementtableName
- the name of the tablebefore
- whether the fire method is called before or after the
operation is performedtype
- the operation type: INSERT, UPDATE, DELETE, SELECT, or a
combination (this parameter is a bit field)java.sql.SQLException
- on SQL exceptionTrigger.init(Connection, String, String, String, boolean, int)
public void fire(java.sql.Connection conn, java.lang.Object[] oldRow, java.lang.Object[] newRow) throws java.sql.SQLException
fire
in interface Trigger
conn
- a connection to the databaseoldRow
- the old row, or null if no old row is available (for
INSERT)newRow
- the new row, or null if no new row is available (for
DELETE)java.sql.SQLException
- if the operation must be undoneTrigger.fire(Connection, Object[], Object[])