Interface DeletionVector


public interface DeletionVector
Metadata about a deletion vector.

Tracks where a DV blob can be read. The DV blob follows the format defined by the deletion-vector-v1 blob type in the Puffin spec.

  • Field Details

  • Method Details

    • schema

      static Types.StructType schema()
    • location

      String location()
      Returns the location of the file containing the deletion vector.
    • offset

      long offset()
      Returns the offset in the file where the deletion vector content starts.
    • sizeInBytes

      long sizeInBytes()
      Returns the size in bytes of the deletion vector content.
    • cardinality

      long cardinality()
      Returns the number of set bits (deleted rows) in the vector.
    • keyMetadata

      ByteBuffer keyMetadata()
      Returns encryption key metadata, or null if the file is not encrypted.
    • copy

      Copies this deletion vector.