public class SequenceBasedSSTableId extends java.lang.Object implements SSTableId, java.lang.Comparable<SequenceBasedSSTableId>
Modifier and Type | Class and Description |
---|---|
static class |
SequenceBasedSSTableId.Builder |
Modifier and Type | Field and Description |
---|---|
int |
generation |
Constructor and Description |
---|
SequenceBasedSSTableId(int generation) |
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) |
int |
compareTo(SequenceBasedSSTableId o) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString()
Creates a String format of the identifier that can be parsed by
SSTableId.Builder.fromString(String) |
public int compareTo(SequenceBasedSSTableId o)
compareTo
in interface java.lang.Comparable<SequenceBasedSSTableId>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.nio.ByteBuffer asBytes()
SSTableId
SSTableId.Builder.fromBytes(ByteBuffer)
public java.lang.String toString()
SSTableId
SSTableId.Builder.fromString(String)
Must not contain any Descriptor.FILENAME_SEPARATOR
character as it is used in the Descriptor
see Descriptor.fromFilenameWithComponent(File)
Copyright © 2009- The Apache Software Foundation