Class OnHeapJsonIndexCreator

  • All Implemented Interfaces:
    Closeable, AutoCloseable, JsonIndexCreator, IndexCreator

    public class OnHeapJsonIndexCreator
    extends BaseJsonIndexCreator
    Implementation of JsonIndexCreator that uses on-heap memory.

    On-heap creator uses more heap memory, but is cheaper on computation and does not flush data to disk which can slow down the creation because of the IO latency. Use on-heap creator in the environment where there is enough heap memory and garbage collection won't cause performance issue (e.g. Hadoop/Spark/Pinot Minion).