Class ExtSSTRecord

All Implemented Interfaces:
org.apache.poi.common.Duplicatable, GenericRecord

public final class ExtSSTRecord extends ContinuableRecord
Extended Static String Table (0x00FF)

This record is used for a quick lookup into the SST record. This record breaks the SST table into a set of buckets. The offsets to these buckets within the SST record are kept as well as the position relative to the start of the SST record.

  • Field Details

  • Constructor Details

    • ExtSSTRecord

      public ExtSSTRecord()
    • ExtSSTRecord

      public ExtSSTRecord(ExtSSTRecord other)
    • ExtSSTRecord

      public ExtSSTRecord(RecordInputStream in)
  • Method Details

    • setNumStringsPerBucket

      public void setNumStringsPerBucket(short numStrings)
    • serialize

      public void serialize(ContinuableRecordOutput out)
    • getNumberOfInfoRecsForStrings

      public static int getNumberOfInfoRecsForStrings(int numStrings)
    • getRecordSizeForStrings

      public static int getRecordSizeForStrings(int numStrings)
      Given a number of strings (in the sst), returns the size of the extsst record
      Parameters:
      numStrings - the number of strings
      Returns:
      the size of the extsst record
    • getSid

      public short getSid()
      Description copied from class: Record
      return the non static version of the id for this record.
      Specified by:
      getSid in class Record
      Returns:
      he id for this record
    • setBucketOffsets

      public void setBucketOffsets(int[] bucketAbsoluteOffsets, int[] bucketRelativeOffsets)
    • copy

      public ExtSSTRecord copy()
      Specified by:
      copy in interface org.apache.poi.common.Duplicatable
      Specified by:
      copy in class Record
    • getGenericRecordType

      public HSSFRecordTypes getGenericRecordType()
      Specified by:
      getGenericRecordType in interface GenericRecord
      Specified by:
      getGenericRecordType in class Record
    • getGenericProperties

      public Map<String,Supplier<?>> getGenericProperties()