org.apache.cassandra.io.sstable
Class Descriptor.Version
java.lang.Object
org.apache.cassandra.io.sstable.Descriptor.Version
- Enclosing class:
- Descriptor
public static class Descriptor.Version
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LEGACY
public static final Descriptor.Version LEGACY
CURRENT
public static final Descriptor.Version CURRENT
hasStringsInBloomFilter
public final boolean hasStringsInBloomFilter
hasIntRowSize
public final boolean hasIntRowSize
hasEncodedKeys
public final boolean hasEncodedKeys
isLatestVersion
public final boolean isLatestVersion
metadataIncludesReplayPosition
public final boolean metadataIncludesReplayPosition
metadataIncludesModernReplayPosition
public final boolean metadataIncludesModernReplayPosition
tracksMaxTimestamp
public final boolean tracksMaxTimestamp
hasCompressionRatio
public final boolean hasCompressionRatio
hasPartitioner
public final boolean hasPartitioner
tracksTombstones
public final boolean tracksTombstones
hasPromotedIndexes
public final boolean hasPromotedIndexes
filterType
public final FilterFactory.Type filterType
hasAncestors
public final boolean hasAncestors
Descriptor.Version
public Descriptor.Version(java.lang.String version)
isCompatible
public boolean isCompatible()
isStreamCompatible
public boolean isStreamCompatible()
containsTimestamp
public boolean containsTimestamp()
- Versions [h..hc] contained a timestamp value that was computed incorrectly, ignoring row tombstones.
containsTimestamp returns true if there is a timestamp value in the metadata file; to know if it
actually contains a *correct* timestamp, see tracksMaxTimestamp.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2012 The Apache Software Foundation