Package ru.curs.celesta.dbutils.h2
Class AbstractMaterializedViewTrigger
java.lang.Object
ru.curs.celesta.dbutils.h2.AbstractMaterializedViewTrigger
- All Implemented Interfaces:
org.h2.api.Trigger
- Direct Known Subclasses:
MaterializedViewDeleteTrigger,MaterializedViewInsertTrigger,MaterializedViewUpdateTrigger
Base class for all triggers of materialized view.
- Since:
- 2017-07-07
- Author:
- ioann
-
Field Summary
Fields inherited from interface org.h2.api.Trigger
DELETE, INSERT, SELECT, UPDATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit(Connection connection, String schemaName, String triggerName, String tableName, boolean before, int type) static voidinitScore(AbstractScore score) Sets up the score with which the current H2 instance should work.voidremove()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.h2.api.Trigger
fire
-
Constructor Details
-
AbstractMaterializedViewTrigger
public AbstractMaterializedViewTrigger()
-
-
Method Details
-
initScore
Sets up the score with which the current H2 instance should work.- Parameters:
score- The current score.
-
init
public void init(Connection connection, String schemaName, String triggerName, String tableName, boolean before, int type) - Specified by:
initin interfaceorg.h2.api.Trigger
-
close
public void close()- Specified by:
closein interfaceorg.h2.api.Trigger
-
remove
public void remove()- Specified by:
removein interfaceorg.h2.api.Trigger
-