Class DiskTreeWriter
- java.lang.Object
-
- org.hortonmachine.gears.io.disktree.DiskTreeWriter
-
-
Field Summary
-
Fields inherited from interface org.hortonmachine.gears.io.disktree.IDiskTree
INDEX_ADDRESS_POSITION, INDEX_ADDRESS_SIZE, INDEX_LENGTH_SIZE
-
-
Constructor Summary
Constructors Constructor Description DiskTreeWriter(String path)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteGeometries(org.locationtech.jts.geom.Geometry[] geometries)Writes an array ofGeometrys to the disk.
-
-
-
Constructor Detail
-
DiskTreeWriter
public DiskTreeWriter(String path)
Constructor.- Parameters:
path- the path to which the index will be written.
-
-
Method Detail
-
writeGeometries
public void writeGeometries(org.locationtech.jts.geom.Geometry[] geometries) throws IOExceptionWrites an array ofGeometrys to the disk.- Parameters:
geometries- the array of geoms to write.- Throws:
IOException
-
-