public final class ExtSSTRecord extends ContinuableRecord
Modifier and Type | Class and Description |
---|---|
static class |
ExtSSTRecord.InfoSubRecord |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BUCKET_SIZE |
static int |
MAX_BUCKETS |
static short |
sid |
Constructor and Description |
---|
ExtSSTRecord() |
ExtSSTRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
protected int |
getDataSize() |
protected ExtSSTRecord.InfoSubRecord[] |
getInfoSubRecords() |
static int |
getNumberOfInfoRecsForStrings(int numStrings) |
static int |
getRecordSizeForStrings(int numStrings)
Given a number of strings (in the sst), returns the size of the extsst record
|
short |
getSid()
return the non static version of the id for this record.
|
void |
serialize(ContinuableRecordOutput out)
Serializes this record's content to the supplied data output.
The standard BIFF header (ushort sid, ushort size) has been handled by the superclass, so only BIFF data should be written by this method. |
void |
setBucketOffsets(int[] bucketAbsoluteOffsets,
int[] bucketRelativeOffsets) |
void |
setNumStringsPerBucket(short numStrings) |
String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
clone, cloneViaReserialise, serialize
public static final short sid
public static final int DEFAULT_BUCKET_SIZE
public static final int MAX_BUCKETS
public ExtSSTRecord()
public ExtSSTRecord(RecordInputStream in)
public void setNumStringsPerBucket(short numStrings)
public String toString()
Record
public void serialize(ContinuableRecordOutput out)
ContinuableRecord
LittleEndianOutput
methods. Methods from ContinuableRecordOutput
can be used to serialize strings (with ContinueRecord
s being written as required).
If necessary, implementors can explicitly start ContinueRecord
s (regardless of the
amount of remaining space).serialize
in class ContinuableRecord
out
- a data output streamprotected int getDataSize()
protected ExtSSTRecord.InfoSubRecord[] getInfoSubRecords()
public static final int getNumberOfInfoRecsForStrings(int numStrings)
public static final int getRecordSizeForStrings(int numStrings)
public short getSid()
Record
public void setBucketOffsets(int[] bucketAbsoluteOffsets, int[] bucketRelativeOffsets)
Copyright © 2020. All rights reserved.