org.openstreetmap.osmosis.core.task.v0_5
Interface DatasetSink

All Superinterfaces:
Releasable, Task
All Known Subinterfaces:
DatasetSinkSource
All Known Implementing Classes:
DatasetBoundingBoxFilter, DumpDataset

public interface DatasetSink
extends Task, Releasable

Defines the interface for tasks consuming datasets.

Author:
Brett Henderson

Method Summary
 void process(Dataset dataset)
          Process the dataset.
 
Methods inherited from interface org.openstreetmap.osmosis.core.lifecycle.Releasable
release
 

Method Detail

process

void process(Dataset dataset)
Process the dataset. This must only be called once. This will perform all finalisation tasks such as database commits as necessary to complete the task.

Parameters:
dataset - The dataset to be processed.