| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.windowing.evictors |
| 限定符和类型 | 方法和说明 |
|---|---|
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–2021 The Apache Software Foundation. All rights reserved.