Class NullValueVectorCreator

  • All Implemented Interfaces:
    Closeable, AutoCloseable, IndexCreator

    public class NullValueVectorCreator
    extends Object
    implements IndexCreator
    Used to persist the null bitmap on disk. This is used by SegmentCreator while indexing rows. Although this class implements IndexCreator, it is not intended to be used as a normal IndexCreator. Specifically, neither add(Object, int) or add(Object[], int[]) should be called on this object. In order to make sure these methods are not being called, they throw exceptions in this class. This requirement is a corollary from the fact that the IndexCreator contract assumes the value will never be null, which is true for all index creators types unless this one.