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
public abstract class AbstractMaterializedViewTrigger extends Object implements org.h2.api.Trigger
Base class for all triggers of materialized view.- Since:
- 2017-07-07
- Author:
- ioann
-
-
Constructor Summary
Constructors Constructor Description AbstractMaterializedViewTrigger()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
init(Connection connection, String schemaName, String triggerName, String tableName, boolean before, int type)
static void
initScore(AbstractScore score)
Sets up the score with which the current H2 instance should work.void
remove()
-
-
-
Method Detail
-
initScore
public static void initScore(AbstractScore score)
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:
init
in interfaceorg.h2.api.Trigger
-
close
public void close()
- Specified by:
close
in interfaceorg.h2.api.Trigger
-
remove
public void remove()
- Specified by:
remove
in interfaceorg.h2.api.Trigger
-
-