public abstract class WindowFunction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WindowFunction.Type |
Modifier and Type | Method and Description |
---|---|
boolean |
canDoWork(int numBatchesAvailable,
WindowPOP pop,
boolean frameEndReached,
boolean partitionEndReached) |
boolean |
requiresFullPartition(WindowPOP pop) |
public boolean requiresFullPartition(WindowPOP pop)
pop
- window group definitionpublic boolean canDoWork(int numBatchesAvailable, WindowPOP pop, boolean frameEndReached, boolean partitionEndReached)
numBatchesAvailable
- number of batches available for current partitionpop
- window group definitionframeEndReached
- we found the last row of the first batch's framepartitionEndReached
- all batches of current partition are availableCopyright © 1970 The Apache Software Foundation. All rights reserved.