Class CustomRank

  • All Implemented Interfaces:
    io.prestosql.spi.function.WindowFunction

    public class CustomRank
    extends io.prestosql.spi.function.RankingWindowFunction
    • Field Summary

      • Fields inherited from class io.prestosql.spi.function.RankingWindowFunction

        windowIndex
    • Constructor Summary

      Constructors 
      Constructor Description
      CustomRank()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void processRow​(io.prestosql.spi.block.BlockBuilder output, boolean newPeerGroup, int peerGroupCount, int currentPosition)  
      void reset()  
      • Methods inherited from class io.prestosql.spi.function.RankingWindowFunction

        processRow, reset
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomRank

        public CustomRank()
    • Method Detail

      • reset

        public void reset()
        Overrides:
        reset in class io.prestosql.spi.function.RankingWindowFunction
      • processRow

        public void processRow​(io.prestosql.spi.block.BlockBuilder output,
                               boolean newPeerGroup,
                               int peerGroupCount,
                               int currentPosition)
        Specified by:
        processRow in class io.prestosql.spi.function.RankingWindowFunction