Class BitmapCommit.Builder

  • Enclosing class:
    BitmapCommit

    public static class BitmapCommit.Builder
    extends Object
    Builder of BitmapCommit.
    • Method Detail

      • setId

        public BitmapCommit.Builder setId​(AnyObjectId objectId)
        Set objectId of the builder.
        Parameters:
        objectId - the object id of the BitmapCommit
        Returns:
        the builder itself
      • setReuseWalker

        public BitmapCommit.Builder setReuseWalker​(boolean reuseWalker)
        Set reuseWalker of the builder.
        Parameters:
        reuseWalker - whether the BitmapCommit should reuse bitmap walker when walking objects
        Returns:
        the builder itself
      • setFlags

        public BitmapCommit.Builder setFlags​(int flags)
        Set flags of the builder.
        Parameters:
        flags - the flags of the BitmapCommit
        Returns:
        the builder itself
      • setAddToIndex

        public BitmapCommit.Builder setAddToIndex​(boolean addToIndex)
        Set whether whether the bitmap of the BitmapCommit should be added to PackBitmapIndexBuilder when building bitmap index file.
        Parameters:
        addToIndex - whether the bitmap of the BitmapCommit should be added to PackBitmapIndexBuilder when building bitmap index file
        Returns:
        the builder itself
      • build

        public BitmapCommit build()
        Builds BitmapCommit from the builder.
        Returns:
        the new BitmapCommit.