Class RekordboxPdb.RowRef

  • Enclosing class:
    RekordboxPdb

    public static class RekordboxPdb.RowRef
    extends io.kaitai.struct.KaitaiStruct
    An offset which points to a row in the table, whose actual presence is controlled by one of the bits in `row_present_flags`. This instance allows the row itself to be lazily loaded, unless it is not present, in which case there is no content to be loaded.
    • Constructor Detail

      • RowRef

        public RowRef​(io.kaitai.struct.KaitaiStream _io,
                      int rowIndex)
      • RowRef

        public RowRef​(io.kaitai.struct.KaitaiStream _io,
                      RekordboxPdb.RowGroup _parent,
                      int rowIndex)
    • Method Detail

      • ofsRow

        public Integer ofsRow()
        The offset of the start of the row (in bytes past the end of the page header).
      • rowBase

        public Integer rowBase()
        The location of this row relative to the start of the page. A variety of pointers (such as all device_sql_string values) are calculated with respect to this position.
      • present

        public Boolean present()
        Indicates whether the row index considers this row to be present in the table. Will be `false` if the row has been deleted.
      • body

        public io.kaitai.struct.KaitaiStruct body()
        The actual content of the row, as long as it is present.
      • rowIndex

        public int rowIndex()
        Identifies which row within the row index this reference came from, so the correct flag can be checked for the row presence and the correct row offset can be found.
      • _parent

        public RekordboxPdb.RowGroup _parent()
        Overrides:
        _parent in class io.kaitai.struct.KaitaiStruct