klsince commented on PR #14457: URL: https://github.com/apache/pinot/pull/14457#issuecomment-2477095250
This was the init logic for OffHeapFSTStore in the older lucene lib, and the offset it from `this.in.getFilePointer();`. ``` public OffHeapFSTStore() { } public FSTStore init(DataInput in, long numBytes) throws IOException { if (in instanceof IndexInput) { this.in = (IndexInput)in; this.numBytes = numBytes; this.offset = this.in.getFilePointer(); return this; } else { throw new IllegalArgumentException("parameter:in should be an instance of IndexInput for using OffHeapFSTStore, not a " + in.getClass().getName()); } } ``` -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org