Package io.prestosql.testing
Class CustomRank
- java.lang.Object
-
- io.prestosql.spi.function.RankingWindowFunction
-
- io.prestosql.testing.CustomRank
-
- All Implemented Interfaces:
io.prestosql.spi.function.WindowFunction
public class CustomRank extends io.prestosql.spi.function.RankingWindowFunction
-
-
Constructor Summary
Constructors Constructor Description CustomRank()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessRow(io.prestosql.spi.block.BlockBuilder output, boolean newPeerGroup, int peerGroupCount, int currentPosition)voidreset()
-
-
-
Method Detail
-
reset
public void reset()
- Overrides:
resetin classio.prestosql.spi.function.RankingWindowFunction
-
processRow
public void processRow(io.prestosql.spi.block.BlockBuilder output, boolean newPeerGroup, int peerGroupCount, int currentPosition)- Specified by:
processRowin classio.prestosql.spi.function.RankingWindowFunction
-
-