Interface JsonIndexReaderProvider
-
- All Known Subinterfaces:
IndexingOverrides.IndexingOverride,IndexReaderProvider
- All Known Implementing Classes:
IndexingOverrides.Default
public interface JsonIndexReaderProvider
-
-
Method Summary
Modifier and Type Method Description JsonIndexReadernewJsonIndexReader(PinotDataBuffer dataBuffer, ColumnMetadata metadata)Creates a {@see JsonIndexReader}
-
-
-
Method Detail
-
newJsonIndexReader
JsonIndexReader newJsonIndexReader(PinotDataBuffer dataBuffer, ColumnMetadata metadata) throws IOException
Creates a {@see JsonIndexReader}- Parameters:
dataBuffer- the buffer, the caller is responsible for closing itmetadata- the column metadata, may be used to select a reader if the buffer does not start with a magic byte.- Returns:
- a JSON index reader
- Throws:
IOException- if reading from the buffer fails.
-
-