public interface SSTableId
A new implementation must adhere to the following invariants:
- Must be locally sortable - that is, the comparison must reflect the comparison of generation times of identifiers
generated on the same node
- String representation must *not* include the Descriptor.FILENAME_SEPARATOR
character, see Descriptor.fromFilenameWithComponent(File)
- must be case-insensitive because the sstables can be stored on case-insensitive file system
Modifier and Type | Interface and Description |
---|---|
static interface |
SSTableId.Builder<T extends SSTableId>
Builder that can create instances of certain implementation of
SSTableId . |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
asBytes()
Creates a byte format of the identifier that can be parsed by
SSTableId.Builder.fromBytes(ByteBuffer) |
java.lang.String |
toString()
Creates a String format of the identifier that can be parsed by
SSTableId.Builder.fromString(String) |
java.nio.ByteBuffer asBytes()
SSTableId.Builder.fromBytes(ByteBuffer)
java.lang.String toString()
SSTableId.Builder.fromString(String)
Must not contain any Descriptor.FILENAME_SEPARATOR
character as it is used in the Descriptor
see Descriptor.fromFilenameWithComponent(File)
toString
in class java.lang.Object
Copyright © 2009- The Apache Software Foundation