| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.functions.windowing.delta | |
| org.apache.flink.streaming.api.windowing.evictors | |
| org.apache.flink.streaming.api.windowing.triggers |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CosineDistance<DATA>
This delta function calculates the cosine distance between two given vectors.
|
class |
EuclideanDistance<DATA>
This delta function calculates the euclidean distance between two given points.
|
class |
ExtractionAwareDeltaFunction<DATA,TO>
Extend this abstract class to implement a delta function which is aware of extracting the data on
which the delta is calculated from a more complex data structure.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T,W extends Window> |
DeltaEvictor.of(double threshold,
DeltaFunction<T> deltaFunction)
Creates a
DeltaEvictor from the given threshold and DeltaFunction. |
static <T,W extends Window> |
DeltaEvictor.of(double threshold,
DeltaFunction<T> deltaFunction,
boolean doEvictAfter)
Creates a
DeltaEvictor from the given threshold, DeltaFunction. |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T,W extends Window> |
DeltaTrigger.of(double threshold,
DeltaFunction<T> deltaFunction,
org.apache.flink.api.common.typeutils.TypeSerializer<T> stateSerializer)
Creates a delta trigger from the given threshold and
DeltaFunction. |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.