saurabhd336 commented on code in PR #11729:
URL: https://github.com/apache/pinot/pull/11729#discussion_r1349857148
##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/readers/forward/VarByteChunkForwardIndexReaderV4.java:
##########
@@ -271,10 +302,21 @@ public static abstract class ReaderContext implements
ForwardIndexReaderContext
protected int _nextDocIdOffset;
protected boolean _regularChunk;
protected int _numDocsInCurrentChunk;
+ protected long _chunkStartOffset;
+ private List<ValueRange> _ranges;
- protected ReaderContext(PinotDataBuffer metadata, PinotDataBuffer chunks) {
+ protected ReaderContext(PinotDataBuffer metadata, PinotDataBuffer chunks,
long chunkStartOffset) {
_chunks = chunks;
_metadata = metadata;
+ _chunkStartOffset = chunkStartOffset;
+ }
+
+ public void recordRangesForDocId(int docId, List<ValueRange> ranges) {
Review Comment:
ack
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]