|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.merge.v0_6.impl.SortedDeltaChangePipeValidator
public class SortedDeltaChangePipeValidator
Validates that change data in a pipeline is sorted by entity type then id thus only allowing delta style changes (ie. not full history). It accepts input data from a Source and passes all data to a downstream Sink.
| Constructor Summary | |
|---|---|
SortedDeltaChangePipeValidator()
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
complete()
Ensures that all information is fully persisted. |
void |
process(ChangeContainer changeContainer)
Process the change. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
void |
setChangeSink(ChangeSink changeSink)
Sets the change sink to send data to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortedDeltaChangePipeValidator()
| Method Detail |
|---|
public void complete()
complete in interface Completablepublic void process(ChangeContainer changeContainer)
process in interface ChangeSinkchangeContainer - The change to be processed.public void release()
release in interface Releasablepublic void setChangeSink(ChangeSink changeSink)
setChangeSink in interface ChangeSourcechangeSink - The sink for receiving all produced data.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||