Class BaseH3IndexCreator
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.creator.impl.inv.geospatial.BaseH3IndexCreator
-
- All Implemented Interfaces:
Closeable,AutoCloseable,GeoSpatialIndexCreator
- Direct Known Subclasses:
OffHeapH3IndexCreator,OnHeapH3IndexCreator
public abstract class BaseH3IndexCreator extends Object implements GeoSpatialIndexCreator
Base implementation of the H3 index creator.Index file layout:
- Header
- Version (int)
- Number of unique H3 ids (int)
- Resolutions (short)
- Long dictionary
- Bitmap inverted index
-
-
Field Summary
Fields Modifier and Type Field Description static intHEADER_LENGTHstatic intVERSION
-
-
-
Field Detail
-
VERSION
public static final int VERSION
- See Also:
- Constant Field Values
-
HEADER_LENGTH
public static final int HEADER_LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
add
public void add(org.locationtech.jts.geom.Geometry geometry) throws IOException- Specified by:
addin interfaceGeoSpatialIndexCreator- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-