public abstract class InputDataDiffBuilder<Key,Value>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
myInputId |
Modifier | Constructor and Description |
---|---|
protected |
InputDataDiffBuilder(int id) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
differentiate(java.util.Map<Key,Value> newData,
KeyValueUpdateProcessor<? super Key,? super Value> addProcessor,
KeyValueUpdateProcessor<? super Key,? super Value> updateProcessor,
RemovedKeyProcessor<? super Key> removeProcessor)
produce a diff between existing data and newData and consume result to addProcessor, updateProcessor and removeProcessor.
|
public abstract boolean differentiate(java.util.Map<Key,Value> newData, KeyValueUpdateProcessor<? super Key,? super Value> addProcessor, KeyValueUpdateProcessor<? super Key,? super Value> updateProcessor, RemovedKeyProcessor<? super Key> removeProcessor) throws StorageException
StorageException