Class TriggerRegistrationService
- java.lang.Object
-
- org.apache.iotdb.db.engine.trigger.service.TriggerRegistrationService
-
- All Implemented Interfaces:
org.apache.iotdb.commons.service.IService
public class TriggerRegistrationService extends java.lang.Object implements org.apache.iotdb.commons.service.IService
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate(StartTriggerPlan plan)voidderegister(DropTriggerPlan plan)voidderegisterAll()intexecutorSize()org.apache.iotdb.commons.service.ServiceTypegetID()static TriggerRegistrationServicegetInstance()TriggerRegistrationInformationgetRegistrationInformation(java.lang.String triggerName)TriggergetTriggerInstance(java.lang.String triggerName)voidinactivate(StopTriggerPlan plan)voidregister(CreateTriggerPlan plan)org.apache.iotdb.tsfile.read.query.dataset.QueryDataSetshow()voidstart()voidstop()
-
-
-
Method Detail
-
register
public void register(CreateTriggerPlan plan) throws TriggerManagementException, TriggerExecutionException
-
deregister
public void deregister(DropTriggerPlan plan) throws TriggerManagementException
- Throws:
TriggerManagementException
-
activate
public void activate(StartTriggerPlan plan) throws TriggerManagementException, TriggerExecutionException
-
inactivate
public void inactivate(StopTriggerPlan plan) throws TriggerManagementException
- Throws:
TriggerManagementException
-
show
public org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet show()
-
start
public void start() throws org.apache.iotdb.commons.exception.StartupException- Specified by:
startin interfaceorg.apache.iotdb.commons.service.IService- Throws:
org.apache.iotdb.commons.exception.StartupException
-
stop
public void stop()
- Specified by:
stopin interfaceorg.apache.iotdb.commons.service.IService
-
deregisterAll
public void deregisterAll() throws TriggerManagementException- Throws:
TriggerManagementException
-
getTriggerInstance
public Trigger getTriggerInstance(java.lang.String triggerName) throws TriggerManagementException
- Throws:
TriggerManagementException
-
getRegistrationInformation
public TriggerRegistrationInformation getRegistrationInformation(java.lang.String triggerName) throws TriggerManagementException
- Throws:
TriggerManagementException
-
getID
public org.apache.iotdb.commons.service.ServiceType getID()
- Specified by:
getIDin interfaceorg.apache.iotdb.commons.service.IService
-
executorSize
public int executorSize()
-
getInstance
public static TriggerRegistrationService getInstance()
-
-