Interface GeospatialIndexReaderProvider

    • Method Detail

      • newGeospatialIndexReader

        H3IndexReader newGeospatialIndexReader​(PinotDataBuffer dataBuffer,
                                               ColumnMetadata metadata)
                                        throws IOException
        Creates a {@see H3IndexReader}
        Parameters:
        dataBuffer - the buffer, the caller is responsible for closing it
        metadata - the column metadata, may be used to select a reader if the buffer does not start with a magic byte.
        Returns:
        a geospatial index reader
        Throws:
        IOException - if reading from the buffer fails.