public class CollectionInputDataDiffBuilder<Key,Value> extends DirectInputDataDiffBuilder<Key,Value>
myInputId
Constructor and Description |
---|
CollectionInputDataDiffBuilder(int inputId,
java.util.Collection<Key> seq) |
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 CollectionInputDataDiffBuilder(int inputId, java.util.Collection<Key> seq)
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
InputDataDiffBuilder
differentiate
in class InputDataDiffBuilder<Key,Value>
StorageException
public java.util.Collection<Key> getKeys()
getKeys
in class DirectInputDataDiffBuilder<Key,Value>
InputDataDiffBuilder.myInputId