Package | Description |
---|---|
org.apache.flink.streaming.api.windowing.evictors |
Modifier and Type | Method and Description |
---|---|
static <W extends Window> |
CountEvictor.of(long maxCount)
Creates a
CountEvictor that keeps the given number of elements. |
static <W extends Window> |
CountEvictor.of(long maxCount,
boolean doEvictAfter)
Creates a
CountEvictor that keeps the given number of elements in the pane
Eviction is done before/after the window function based on the value of doEvictAfter. |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.