| Modifier and Type | Field and Description |
|---|---|
protected int[] |
columnTypes |
protected IndexInfo |
index |
protected java.sql.PreparedStatement |
prepDeleteMap |
protected java.sql.PreparedStatement |
prepDeleteRow |
protected java.sql.PreparedStatement |
prepInsertMap |
protected java.sql.PreparedStatement |
prepInsertRow |
protected java.sql.PreparedStatement |
prepInsertWord |
protected java.sql.PreparedStatement |
prepSelectRow |
protected org.h2.fulltext.FullTextSettings |
setting |
| Constructor and Description |
|---|
FullText.FullTextTrigger() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
INTERNAL
|
protected void |
delete(java.lang.Object[] row)
Delete a row from the index.
|
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
|
protected void |
insert(java.lang.Object[] row)
Add a row to the index.
|
void |
remove()
INTERNAL
|
protected org.h2.fulltext.FullTextSettings setting
protected IndexInfo index
protected int[] columnTypes
protected java.sql.PreparedStatement prepInsertWord
protected java.sql.PreparedStatement prepInsertRow
protected java.sql.PreparedStatement prepInsertMap
protected java.sql.PreparedStatement prepDeleteRow
protected java.sql.PreparedStatement prepDeleteMap
protected java.sql.PreparedStatement prepSelectRow
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 Triggerconn - 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.SQLExceptionpublic void fire(java.sql.Connection conn,
java.lang.Object[] oldRow,
java.lang.Object[] newRow)
throws java.sql.SQLException
protected void insert(java.lang.Object[] row)
throws java.sql.SQLException
row - the rowjava.sql.SQLExceptionprotected void delete(java.lang.Object[] row)
throws java.sql.SQLException
row - the rowjava.sql.SQLException