Skip to content

Commit

Permalink
DeletionVectorStoredBitmap.load
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklaskowski committed Jun 16, 2024
1 parent bfcfc34 commit 12c1b99
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/deletion-vectors/DeletionVectorStoredBitmap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DeletionVectorStoredBitmap

`DeletionVectorStoredBitmap` is a [StoredBitmap](StoredBitmap.md).
`DeletionVectorStoredBitmap` is a [StoredBitmap](StoredBitmap.md) of a deletion vector (described by [DeletionVectorDescriptor](#dvDescriptor)).

## Creating Instance

Expand Down Expand Up @@ -34,7 +34,11 @@ The path is specified only when `StoredBitmap` utility is requested to [create a

`load` is part of the [StoredBitmap](StoredBitmap.md#load) abstraction.

`load`...FIXME
For an [empty deletion vector](#isEmpty), `load` creates a new empty `RoaringBitmapArray`.

For an [inline deletion vector](#isInline), `load` creates a `RoaringBitmapArray` from the [inline data byte array](DeletionVectorDescriptor.md#inlineData) of this [DeletionVectorDescriptor](#dvDescriptor).

Otherwise, `load` asserts that this deletion vector is [isOnDisk](#isOnDisk) and requests the given [DeletionVectorStore](DeletionVectorStore.md) to [load the RoaringBitmapArray](DeletionVectorStore.md#read).

### Absolute Path of On-Disk Deletion Vector { #onDiskPath }

Expand Down

0 comments on commit 12c1b99

Please sign in to comment.