public abstract class AbstractEntityCollector extends AbstractTaskSingleInputReaderSingleOutput
| Modifier and Type | Field and Description |
|---|---|
protected TLongSet |
ids
|
protected Iterator |
iteratorReferences
|
closeInput, closeOutput, in, inputFormat, inputReader, osmOutputStream, out, outputFormat, pathInput, pathOutput, pbfConfig, readMetadata, tboConfig, writeMetadataline, options| Constructor and Description |
|---|
AbstractEntityCollector()
|
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
|
void |
handle(OsmBounds
|
void |
handle(OsmNode
|
void |
handle(OsmRelation
|
void |
handle(OsmWay
|
protected void |
init()
|
protected abstract void |
readReferences()
|
protected void |
run()
|
protected void |
setup(String
|
protected abstract boolean |
take(OsmNode
|
protected abstract boolean |
take(OsmRelation
|
protected abstract boolean |
take(OsmWay
|
finishgetHelpMessageprotected Iterator<EntityContainer > iteratorReferences
protected TLongSetids
protected void setup(String[] args)
protected void init()
throws IOException
init in class
AbstractTaskSingleInputReaderSingleOutput
IOException
protected void run()
throws OsmInputException
run in class
AbstractTaskSingleInputReaderSingleOutput
OsmInputException
public void handle(OsmBoundsbounds) throws IOException
IOException
public void handle(OsmNodenode) throws IOException
IOException
public void handle(OsmWayway) throws IOException
IOException
public void handle(OsmRelationrelation) throws IOException
IOException
public void complete()
throws IOException
IOException
protected abstract void readReferences()
protected abstract boolean take(OsmNodenode)
protected abstract boolean take(OsmWayway)
protected abstract boolean take(OsmRelationrelation)