Class BitmapCommit

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AnyObjectId>

    public final class BitmapCommit
    extends ObjectId
    A commit object for which a bitmap index should be built.
    See Also:
    Serialized Form
    • Field Detail

      • reuseWalker

        private final boolean reuseWalker
      • flags

        private final int flags
      • addToIndex

        private final boolean addToIndex
    • Constructor Detail

      • BitmapCommit

        BitmapCommit​(AnyObjectId objectId,
                     boolean reuseWalker,
                     int flags)
      • BitmapCommit

        BitmapCommit​(AnyObjectId objectId,
                     boolean reuseWalker,
                     int flags,
                     boolean addToIndex)
    • Method Detail

      • isReuseWalker

        boolean isReuseWalker()
      • getFlags

        int getFlags()
      • isAddToIndex

        public boolean isAddToIndex()
        Whether corresponding bitmap should be added to PackBitmapIndexBuilder.
        Returns:
        true if the corresponding bitmap should be added to PackBitmapIndexBuilder.
      • newBuilder

        public static BitmapCommit.Builder newBuilder​(AnyObjectId objId)
        Get a builder of BitmapCommit whose object id is objId.
        Parameters:
        objId - the object id of the BitmapCommit
        Returns:
        a BitmapCommit builder with object id set.
      • copyFrom

        public static BitmapCommit.Builder copyFrom​(BitmapCommit commit)
        Get a builder of BitmapCommit whose fields are copied from commit.
        Parameters:
        commit - the bitmap commit the builder is copying from
        Returns:
        a BitmapCommit build with fields copied from an existing bitmap commit.