Interface Trigger
-
- All Known Implementing Classes:
ForwardTrigger
public interface TriggerUser Guide: docs/UserGuide/Operation Manual/Triggers.md
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean[]fire(long[] timestamps, boolean[] values, org.apache.iotdb.commons.path.PartialPath path)default double[]fire(long[] timestamps, double[] values, org.apache.iotdb.commons.path.PartialPath path)default float[]fire(long[] timestamps, float[] values, org.apache.iotdb.commons.path.PartialPath path)default int[]fire(long[] timestamps, int[] values, org.apache.iotdb.commons.path.PartialPath path)default long[]fire(long[] timestamps, long[] values, org.apache.iotdb.commons.path.PartialPath path)default org.apache.iotdb.tsfile.utils.Binary[]fire(long[] timestamps, org.apache.iotdb.tsfile.utils.Binary[] values, org.apache.iotdb.commons.path.PartialPath path)default java.lang.Booleanfire(long timestamp, java.lang.Boolean value, org.apache.iotdb.commons.path.PartialPath path)default java.lang.Doublefire(long timestamp, java.lang.Double value, org.apache.iotdb.commons.path.PartialPath path)default java.lang.Floatfire(long timestamp, java.lang.Float value, org.apache.iotdb.commons.path.PartialPath path)default java.lang.Integerfire(long timestamp, java.lang.Integer value, org.apache.iotdb.commons.path.PartialPath path)default java.lang.Longfire(long timestamp, java.lang.Long value, org.apache.iotdb.commons.path.PartialPath path)default org.apache.iotdb.tsfile.utils.Binaryfire(long timestamp, org.apache.iotdb.tsfile.utils.Binary value, org.apache.iotdb.commons.path.PartialPath path)default voidonCreate(org.apache.iotdb.trigger.api.TriggerAttributes attributes)default voidonDrop()default voidonStart()default voidonStop()
-
-
-
Method Detail
-
onCreate
default void onCreate(org.apache.iotdb.trigger.api.TriggerAttributes attributes) throws java.lang.Exception- Throws:
java.lang.Exception
-
onDrop
default void onDrop() throws java.lang.Exception- Throws:
java.lang.Exception
-
onStart
default void onStart() throws java.lang.Exception- Throws:
java.lang.Exception
-
onStop
default void onStop() throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default java.lang.Integer fire(long timestamp, java.lang.Integer value, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default int[] fire(long[] timestamps, int[] values, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default java.lang.Long fire(long timestamp, java.lang.Long value, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default long[] fire(long[] timestamps, long[] values, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default java.lang.Float fire(long timestamp, java.lang.Float value, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default float[] fire(long[] timestamps, float[] values, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default java.lang.Double fire(long timestamp, java.lang.Double value, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default double[] fire(long[] timestamps, double[] values, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default java.lang.Boolean fire(long timestamp, java.lang.Boolean value, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default boolean[] fire(long[] timestamps, boolean[] values, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default org.apache.iotdb.tsfile.utils.Binary fire(long timestamp, org.apache.iotdb.tsfile.utils.Binary value, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
fire
default org.apache.iotdb.tsfile.utils.Binary[] fire(long[] timestamps, org.apache.iotdb.tsfile.utils.Binary[] values, org.apache.iotdb.commons.path.PartialPath path) throws java.lang.Exception- Throws:
java.lang.Exception
-
-