Class UDTFContinuouslySatisfy

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void beforeStart​(org.apache.iotdb.udf.api.customizer.parameter.UDFParameters parameters, org.apache.iotdb.udf.api.customizer.config.UDTFConfigurations configurations)  
      protected abstract long getDefaultMax()  
      protected abstract long getDefaultMin()  
      protected abstract java.lang.Long getRecord()  
      protected abstract boolean satisfyBoolean​(java.lang.Boolean value)  
      protected abstract boolean satisfyDouble​(double value)  
      protected abstract boolean satisfyFloat​(float value)  
      protected abstract boolean satisfyInt​(int value)  
      protected abstract boolean satisfyLong​(long value)  
      void terminate​(org.apache.iotdb.udf.api.collector.PointCollector collector)  
      void transform​(org.apache.iotdb.udf.api.access.Row row, org.apache.iotdb.udf.api.collector.PointCollector collector)  
      protected boolean transformBoolean​(long time, boolean value)  
      protected boolean transformDouble​(long time, double value)  
      protected boolean transformFloat​(long time, float value)  
      protected boolean transformInt​(long time, int value)  
      protected boolean transformLong​(long time, long value)  
      void validate​(org.apache.iotdb.udf.api.customizer.parameter.UDFParameterValidator validator)  
      • 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.udf.api.UDF

        beforeDestroy
      • Methods inherited from interface org.apache.iotdb.udf.api.UDTF

        transform, transform
    • Field Detail

      • min

        protected long min
      • max

        protected long max
      • dataType

        protected org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType
      • satisfyValueCount

        protected long satisfyValueCount
      • satisfyValueLastTime

        protected long satisfyValueLastTime
      • satisfyValueStartTime

        protected long satisfyValueStartTime
      • interval

        protected org.apache.iotdb.tsfile.utils.Pair<java.lang.Long,​java.lang.Long> interval
    • Constructor Detail

      • UDTFContinuouslySatisfy

        public UDTFContinuouslySatisfy()
    • Method Detail

      • validate

        public void validate​(org.apache.iotdb.udf.api.customizer.parameter.UDFParameterValidator validator)
                      throws org.apache.iotdb.udf.api.exception.UDFException
        Specified by:
        validate in interface org.apache.iotdb.udf.api.UDF
        Throws:
        org.apache.iotdb.udf.api.exception.UDFException
      • getDefaultMin

        protected abstract long getDefaultMin()
      • getDefaultMax

        protected abstract long getDefaultMax()
      • beforeStart

        public void beforeStart​(org.apache.iotdb.udf.api.customizer.parameter.UDFParameters parameters,
                                org.apache.iotdb.udf.api.customizer.config.UDTFConfigurations configurations)
                         throws MetadataException,
                                org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException
        Specified by:
        beforeStart in interface org.apache.iotdb.udf.api.UDTF
        Throws:
        MetadataException
        org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException
      • transform

        public void transform​(org.apache.iotdb.udf.api.access.Row row,
                              org.apache.iotdb.udf.api.collector.PointCollector collector)
                       throws java.io.IOException,
                              org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException
        Specified by:
        transform in interface org.apache.iotdb.udf.api.UDTF
        Throws:
        java.io.IOException
        org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException
      • transformDouble

        protected boolean transformDouble​(long time,
                                          double value)
      • transformFloat

        protected boolean transformFloat​(long time,
                                         float value)
      • transformLong

        protected boolean transformLong​(long time,
                                        long value)
      • transformInt

        protected boolean transformInt​(long time,
                                       int value)
      • transformBoolean

        protected boolean transformBoolean​(long time,
                                           boolean value)
      • getRecord

        protected abstract java.lang.Long getRecord()
      • terminate

        public void terminate​(org.apache.iotdb.udf.api.collector.PointCollector collector)
                       throws org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException,
                              java.io.IOException
        Specified by:
        terminate in interface org.apache.iotdb.udf.api.UDTF
        Throws:
        org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException
        java.io.IOException
      • satisfyInt

        protected abstract boolean satisfyInt​(int value)
      • satisfyLong

        protected abstract boolean satisfyLong​(long value)
      • satisfyFloat

        protected abstract boolean satisfyFloat​(float value)
      • satisfyDouble

        protected abstract boolean satisfyDouble​(double value)
      • satisfyBoolean

        protected abstract boolean satisfyBoolean​(java.lang.Boolean value)