Class UDTFTopK

  • All Implemented Interfaces:
    org.apache.iotdb.udf.api.UDF, org.apache.iotdb.udf.api.UDTF

    public class UDTFTopK
    extends UDTFSelectK
    • Constructor Detail

      • UDTFTopK

        public UDTFTopK()
    • Method Detail

      • constructPQ

        protected void constructPQ()
                            throws org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException
        Specified by:
        constructPQ in class UDTFSelectK
        Throws:
        org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException
      • transformInt

        protected void transformInt​(long time,
                                    int value)
        Specified by:
        transformInt in class UDTFSelectK
      • transformLong

        protected void transformLong​(long time,
                                     long value)
        Specified by:
        transformLong in class UDTFSelectK
      • transformFloat

        protected void transformFloat​(long time,
                                      float value)
        Specified by:
        transformFloat in class UDTFSelectK
      • transformDouble

        protected void transformDouble​(long time,
                                       double value)
        Specified by:
        transformDouble in class UDTFSelectK
      • transformString

        protected void transformString​(long time,
                                       java.lang.String value)
        Specified by:
        transformString in class UDTFSelectK