Package | Description |
---|---|
org.apache.cassandra.db | |
org.apache.cassandra.io.sstable |
Modifier and Type | Method and Description |
---|---|
java.util.Map<Descriptor,java.util.Set<Component>> |
Directories.SSTableLister.list() |
Modifier and Type | Field and Description |
---|---|
static Component |
Component.COMPACTED_MARKER |
static Component |
Component.COMPRESSION_INFO |
static Component |
Component.DATA |
static Component |
Component.DIGEST |
static Component |
Component.FILTER |
static Component |
Component.PRIMARY_INDEX |
static Component |
Component.STATS |
static Component |
Component.SUMMARY |
static Component |
Component.TOC |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Component> |
SSTable.components |
Modifier and Type | Method and Description |
---|---|
static Pair<Descriptor,Component> |
Component.fromFilename(java.io.File directory,
java.lang.String name)
Filename of the form "
|
protected static java.util.Set<Component> |
SSTable.readTOC(Descriptor descriptor)
Reads the list of components from the TOC component.
|
static Pair<Descriptor,Component> |
SSTable.tryComponentFromFilename(java.io.File dir,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Descriptor.filenameFor(Component component) |
long |
SSTableReader.getCreationTimeFor(Component component) |
Modifier and Type | Method and Description |
---|---|
void |
SSTable.addComponents(java.util.Collection<Component> newComponents)
Registers new custom components.
|
protected static void |
SSTable.appendTOC(Descriptor descriptor,
java.util.Collection<Component> components)
Appends new component names to the TOC component.
|
static boolean |
SSTable.delete(Descriptor desc,
java.util.Set<Component> components)
We use a ReferenceQueue to manage deleting files that have been compacted
and for which no more SSTable references exist.
|
static SSTableReader |
SSTableReader.open(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner) |
static java.util.Collection<SSTableReader> |
SSTableReader.openAll(java.util.Set<java.util.Map.Entry<Descriptor,java.util.Set<Component>>> entries,
CFMetaData metadata,
IPartitioner partitioner) |
static SSTableReader |
SSTableReader.openForBatch(Descriptor descriptor,
java.util.Set<Component> components,
IPartitioner partitioner) |
static SSTableReader |
SSTableReader.openNoValidation(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata) |
static void |
SSTableWriter.rename(Descriptor tmpdesc,
Descriptor newdesc,
java.util.Set<Component> components) |
Constructor and Description |
---|
SSTable(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner) |
Copyright © 2014 The Apache Software Foundation