DATA- The input data type. The input of this type will be passed to the extractor which will transform into a TO-object. The delta function then runs on this TO-object.
TO- The type on which the delta function runs. (The type of the delta function)
@PublicEvolving public abstract class ExtractionAwareDeltaFunction<DATA,TO> extends Object implements DeltaFunction<DATA>
|Constructor and Description|
|Modifier and Type||Method and Description|
This method takes the two data point and runs the set extractor on it.
This method is exactly the same as
getNestedDelta(TO, TO)is then called with the extracted data. In case no extractor is set the input data gets passes to
getNestedDelta(TO, TO)as-is. The return value is just forwarded from
DeltaFunction.getDelta(Object, Object)except that it gets the result of the previously done extractions as input. Therefore, this method only does the actual calculation of the delta but no data extraction or conversion.
oldDataPoint- the older data point.
newDataPoint- the new data point.
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.