public final class VersionAndType
extends java.lang.Object
Version
with a SSTableFormat.Type
.
Note that both information are currently necessary to identify the exact "format" of an sstable (without having
its Descriptor
). In particular, while Version
contains its {SSTableFormat
}, you cannot get
the {SSTableFormat.Type
} from that.
Constructor and Description |
---|
VersionAndType(Version version,
SSTableFormat.Type formatType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
SSTableFormat.Type |
formatType() |
static VersionAndType |
fromString(java.lang.String versionAndType) |
int |
hashCode() |
java.lang.String |
toString() |
Version |
version() |
public VersionAndType(Version version, SSTableFormat.Type formatType)
public Version version()
public SSTableFormat.Type formatType()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static VersionAndType fromString(java.lang.String versionAndType)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009-2022 The Apache Software Foundation