public class MinByLengthBatchWindowProcessor extends MaxByMinByLengthBatchWindowProcessor
from inputStream#window.minbymaxby:minByLengthBatch(attribute1, 4) select attribute1, attribute2 insert into outputStream;
Description: In the example query given, 4 is the number of events the window should tumble and attribute1 is the attribute that need to be compared to find the event which has min value. According to the given attribute it will give event which holds the minimum value.
minByMaxByExecutorType| Constructor and Description |
|---|
MinByLengthBatchWindowProcessor() |
compileCondition, currentState, find, init, process, restoreState, start, stopinit, processEventChunkCopyright © 2017 WSO2. All rights reserved.