Class StatisticsUpdaterTrigger

  • All Implemented Interfaces:
    org.apache.iotdb.trigger.api.Trigger

    public class StatisticsUpdaterTrigger
    extends java.lang.Object
    implements org.apache.iotdb.trigger.api.Trigger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean fire​(org.apache.iotdb.tsfile.write.record.Tablet tablet)  
      org.apache.iotdb.trigger.api.enums.FailureStrategy getFailureStrategy()  
      void onCreate​(org.apache.iotdb.trigger.api.TriggerAttributes attributes)  
      void onDrop()  
      void restore()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.iotdb.trigger.api.Trigger

        validate
    • Constructor Detail

      • StatisticsUpdaterTrigger

        public StatisticsUpdaterTrigger()
    • Method Detail

      • onCreate

        public void onCreate​(org.apache.iotdb.trigger.api.TriggerAttributes attributes)
                      throws java.lang.Exception
        Specified by:
        onCreate in interface org.apache.iotdb.trigger.api.Trigger
        Throws:
        java.lang.Exception
      • fire

        public boolean fire​(org.apache.iotdb.tsfile.write.record.Tablet tablet)
                     throws java.lang.Exception
        Specified by:
        fire in interface org.apache.iotdb.trigger.api.Trigger
        Throws:
        java.lang.Exception
      • restore

        public void restore()
                     throws java.lang.Exception
        Specified by:
        restore in interface org.apache.iotdb.trigger.api.Trigger
        Throws:
        java.lang.Exception
      • onDrop

        public void onDrop()
                    throws java.lang.Exception
        Specified by:
        onDrop in interface org.apache.iotdb.trigger.api.Trigger
        Throws:
        java.lang.Exception
      • getFailureStrategy

        public org.apache.iotdb.trigger.api.enums.FailureStrategy getFailureStrategy()
        Specified by:
        getFailureStrategy in interface org.apache.iotdb.trigger.api.Trigger