| 限定符和类型 | 字段和说明 |
|---|---|
protected int[] |
columnTypes |
protected IndexInfo |
index |
protected PreparedStatement |
prepDeleteMap |
protected PreparedStatement |
prepDeleteRow |
protected PreparedStatement |
prepInsertMap |
protected PreparedStatement |
prepInsertRow |
protected PreparedStatement |
prepInsertWord |
protected PreparedStatement |
prepSelectRow |
protected org.h2.fulltext.FullTextSettings |
setting |
| 构造器和说明 |
|---|
FullTextTrigger() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
INTERNAL
|
protected void |
delete(Object[] row)
Delete a row from the index.
|
void |
fire(Connection conn,
Object[] oldRow,
Object[] newRow)
INTERNAL
|
void |
init(Connection conn,
String schemaName,
String triggerName,
String tableName,
boolean before,
int type)
INTERNAL
|
protected void |
insert(Object[] row)
Add a row to the index.
|
void |
remove()
INTERNAL
|
protected org.h2.fulltext.FullTextSettings setting
protected IndexInfo index
protected int[] columnTypes
protected PreparedStatement prepInsertWord
protected PreparedStatement prepInsertRow
protected PreparedStatement prepInsertMap
protected PreparedStatement prepDeleteRow
protected PreparedStatement prepDeleteMap
protected PreparedStatement prepSelectRow
public void init(Connection conn, String schemaName, String triggerName, String tableName, boolean before, int type) throws SQLException
init 在接口中 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)SQLExceptionpublic void fire(Connection conn, Object[] oldRow, Object[] newRow) throws SQLException
fire 在接口中 Triggerconn - 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)SQLException - if the operation must be undoneprotected void insert(Object[] row) throws SQLException
row - the rowSQLExceptionprotected void delete(Object[] row) throws SQLException
row - the rowSQLExceptionCopyright © 2017. All rights reserved.