Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
static <T,W extends Window> |
DeltaTrigger.of(double threshold,
DeltaFunction<T> deltaFunction,
TypeSerializer<T> stateSerializer)
Creates a delta trigger from the given threshold and
DeltaFunction . |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.