public class MapInputDataDiffBuilder<Key,Value> extends DirectInputDataDiffBuilder<Key,Value>
myInputId| Constructor and Description |
|---|
MapInputDataDiffBuilder(int inputId,
java.util.Map<Key,Value> map) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.util.Collection<Key> |
getKeys() |
public 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
InputDataDiffBuilderdifferentiate in class InputDataDiffBuilder<Key,Value>StorageExceptionpublic java.util.Collection<Key> getKeys()
getKeys in class DirectInputDataDiffBuilder<Key,Value>InputDataDiffBuilder.myInputId