Uses of Class
org.apache.cassandra.io.sstable.Component
Packages that use Component
Package
Description
File transfer
-
Uses of Component in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return types with arguments of type ComponentModifier and TypeMethodDescriptionDirectories.SSTableLister.list()Directories.SSTableLister.list(boolean includeForeignTables) This method is used upon SSTable importing (nodetool import) as there is no strict requirement to place SSTables in a directory structure where name of a directory equals to table name and parent of such directory equals to keyspace name.Directories.SSTableLister.sortedList()Returns a sorted version of thelistmethod. -
Uses of Component in org.apache.cassandra.db.streaming
Methods in org.apache.cassandra.db.streaming that return types with arguments of type ComponentMethods in org.apache.cassandra.db.streaming with parameters of type ComponentModifier and TypeMethodDescriptionComponentContext.channel(Descriptor descriptor, Component component, long size) longMethod parameters in org.apache.cassandra.db.streaming with type arguments of type ComponentModifier and TypeMethodDescriptionprotected SSTableZeroCopyWriterCassandraEntireSSTableStreamReader.createWriter(ColumnFamilyStore cfs, long totalSize, Collection<Component> components) Constructor parameters in org.apache.cassandra.db.streaming with type arguments of type Component -
Uses of Component in org.apache.cassandra.index
Methods in org.apache.cassandra.index that return types with arguments of type ComponentModifier and TypeMethodDescriptionIndex.getComponents()Returns the SSTable-attachedComponents created by this index.Index.Group.getComponents()Returns the SSTable-attachedComponents created by this index group.SingletonIndexGroup.getComponents() -
Uses of Component in org.apache.cassandra.index.sai
Methods in org.apache.cassandra.index.sai that return types with arguments of type ComponentModifier and TypeMethodDescriptionStorageAttachedIndex.getComponents()StorageAttachedIndexGroup.getComponents()StorageAttachedIndexGroup.getLiveComponents(SSTableReader sstable, Collection<StorageAttachedIndex> indices) -
Uses of Component in org.apache.cassandra.index.sai.disk.format
Methods in org.apache.cassandra.index.sai.disk.format that return ComponentModifier and TypeMethodDescriptionVersion.makePerIndexComponent(IndexComponent indexComponent, IndexIdentifier indexIdentifier) Version.makePerSSTableComponent(IndexComponent indexComponent) Methods in org.apache.cassandra.index.sai.disk.format that return types with arguments of type ComponentModifier and TypeMethodDescriptionIndexDescriptor.getLivePerIndexComponents(IndexTermType indexTermType, IndexIdentifier indexIdentifier) IndexDescriptor.getLivePerSSTableComponents() -
Uses of Component in org.apache.cassandra.index.sasi.conf
Methods in org.apache.cassandra.index.sasi.conf that return Component -
Uses of Component in org.apache.cassandra.io.sstable
Fields in org.apache.cassandra.io.sstable with type parameters of type ComponentMethods in org.apache.cassandra.io.sstable that return ComponentModifier and TypeMethodDescriptionstatic ComponentDescriptor.componentFromFile(File file) Component.Type.createComponent(String repr) static ComponentComponent.Type.createComponent(String repr, SSTableFormat<?, ?> format) Component.Type.getSingleton()static ComponentComponent.parse(String name, SSTableFormat<?, ?> format) Parse the component part of a sstable filename into aComponentobject.Methods in org.apache.cassandra.io.sstable that return types with arguments of type ComponentModifier and TypeMethodDescriptionDescriptor.discoverComponents()static Pair<Descriptor,Component> Descriptor.fromFileWithComponent(File file) Parse a sstable filename, extracting both theDescriptorandComponentpart.static Pair<Descriptor,Component> Descriptor.fromFileWithComponent(File file, boolean validateDirs) static Pair<Descriptor,Component> Descriptor.fromFileWithComponent(File file, String keyspace, String table) Parse a sstable filename, extracting both theDescriptorandComponentpart.Descriptor.getComponents(Set<Component> mandatory, Set<Component> optional) Returns the set of components consisting of the provided mandatory components and those optional components for which the corresponding file exists.SSTable.Builder.getComponents()SSTable.getComponents()Component.getSingletonsFor(Class<? extends SSTableFormat<?, ?>> formatClass) Component.getSingletonsFor(SSTableFormat<?, ?> format) SSTable.getStreamingComponents()Returns all SSTable components that should be streamed.static Pair<Descriptor,Component> SSTable.tryComponentFromFilename(File file) Parse a sstable filename into both aDescriptorandComponentobject.static Pair<Descriptor,Component> SSTable.tryComponentFromFilename(File file, String keyspace, String table) Parse a sstable filename into both aDescriptorandComponentobject.Methods in org.apache.cassandra.io.sstable with parameters of type ComponentModifier and TypeMethodDescriptionDescriptor.relativeFilenameFor(Component component) Descriptor.tmpFileFor(Component component) Descriptor.tmpFileForStreaming(Component component) voidSSTableZeroCopyWriter.writeComponent(Component component, DataInputPlus in, long size) Method parameters in org.apache.cassandra.io.sstable with type arguments of type ComponentModifier and TypeMethodDescriptionvoidSSTable.addComponents(Collection<Component> newComponents) Registers new custom components.SSTable.Builder.addComponents(Collection<Component> components) static voidSSTable.copy(Descriptor tmpdesc, Descriptor newdesc, Set<Component> components) Descriptor.getComponents(Set<Component> mandatory, Set<Component> optional) Returns the set of components consisting of the provided mandatory components and those optional components for which the corresponding file exists.static voidSSTable.hardlink(Descriptor tmpdesc, Descriptor newdesc, Set<Component> components) voidSSTable.registerComponents(Collection<Component> newComponents, Tracker tracker) Registers new custom components into sstable and update size trackingstatic voidSSTable.rename(Descriptor tmpdesc, Descriptor newdesc, Set<Component> components) SSTable.Builder.setComponents(Collection<Component> components) voidSSTable.unregisterComponents(Collection<Component> removeComponents, Tracker tracker) Unregisters custom components from sstable and update size tracking -
Uses of Component in org.apache.cassandra.io.sstable.format
Fields in org.apache.cassandra.io.sstable.format declared as ComponentModifier and TypeFieldDescriptionstatic final ComponentSSTableFormat.Components.COMPRESSION_INFOstatic final ComponentSSTableFormat.Components.CRCstatic final ComponentSSTableFormat.Components.DATAstatic final ComponentSSTableFormat.Components.DIGESTstatic final ComponentSSTableFormat.Components.FILTERstatic final ComponentSSTableFormat.Components.STATSstatic final ComponentSSTableFormat.Components.TOCFields in org.apache.cassandra.io.sstable.format with type parameters of type ComponentModifier and TypeFieldDescriptionSortedTableWriter.AbstractIndexWriter.componentsSSTableReaderLoadingBuilder.componentsMethods in org.apache.cassandra.io.sstable.format that return types with arguments of type ComponentModifier and TypeMethodDescriptionSSTableFormat.allComponents()All the components that the writter can produce when saving an sstable, as well as all the components that the reader can read.SSTableFormat.batchComponents()Returns components required by offline compaction tasks - like splitting sstables.SSTableFormat.generatedOnLoadComponents()Returns a set of components that can be automatically generated when loading sstable and thus are not mandatory.TOCComponent.loadOrCreate(Descriptor descriptor) Loads existing TOC file or creates a new one.TOCComponent.loadTOC(Descriptor descriptor) Reads the list of components from the TOC component.TOCComponent.loadTOC(Descriptor descriptor, boolean skipMissing) Reads the list of components from the TOC component.SSTableFormat.mutableComponents()Returns a set of the components that can be changed after an sstable was written.SSTableFormat.primaryComponents()SSTableFormat.uploadComponents()Returns the components which should be selected for upload by the sstable loader.Methods in org.apache.cassandra.io.sstable.format with parameters of type ComponentModifier and TypeMethodDescriptionstatic FileHandle.BuilderIndexComponent.fileBuilder(Component component, SSTable ssTable) static FileHandle.BuilderIndexComponent.fileBuilder(Component component, SSTable.Builder<?, ?> builder) Method parameters in org.apache.cassandra.io.sstable.format with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidSSTableReader.createLinks(Descriptor descriptor, Set<Component> components, String snapshotDirectoryPath) static voidSSTableReader.createLinks(Descriptor descriptor, Set<Component> components, String snapshotDirectoryPath, com.google.common.util.concurrent.RateLimiter limiter) static voidSortedTableScrubber.deleteOrphanedComponents(Descriptor descriptor, Set<Component> components) voidSSTableFormat.deleteOrphanedComponents(Descriptor descriptor, Set<Component> components) SSTableFormat.SSTableReaderFactory.loadingBuilder(Descriptor descriptor, TableMetadataRef tableMetadataRef, Set<Component> components) A builder which opens/loads all the required resources upon execution ofSSTableReaderLoadingBuilder.build(SSTable.Owner, boolean, boolean)and passed them to the created reader instance.static CompressionMetadataCompressionInfoComponent.maybeLoad(Descriptor descriptor, Set<Component> components) static IFilterFilterComponent.maybeLoadBloomFilter(Descriptor descriptor, Set<Component> components, TableMetadata metadata, ValidationMetadata validationMetadata) Optionally loads a Bloom filter.static SSTableReaderSSTableReader.moveAndOpenSSTable(ColumnFamilyStore cfs, Descriptor oldDescriptor, Descriptor newDescriptor, Set<Component> components, boolean copyData) Moves the sstable in oldDescriptor to a new place (with generation etc) in newDescriptor.static SSTableReaderSSTableReader.open(SSTable.Owner owner, Descriptor descriptor, Set<Component> components, TableMetadataRef metadata) static SSTableReaderSSTableReader.open(SSTable.Owner owner, Descriptor descriptor, Set<Component> components, TableMetadataRef metadata, boolean validate, boolean isOffline) Open an SSTable for readingstatic Collection<SSTableReader>SSTableReader.openAll(SSTable.Owner owner, Set<Map.Entry<Descriptor, Set<Component>>> entries, TableMetadataRef metadata) static SSTableReaderSSTableReader.openForBatch(SSTable.Owner owner, Descriptor descriptor, Set<Component> components, TableMetadataRef metadata) Open SSTable reader to be used in batch mode(such as sstableloader).static SSTableReaderSSTableReader.openNoValidation(Descriptor descriptor, Set<Component> components, ColumnFamilyStore cfs) static voidTOCComponent.rewriteTOC(Descriptor descriptor, Collection<Component> components) Rewrites the TOC component by deleting and recreating it only with provided component names.static voidTOCComponent.updateTOC(Descriptor descriptor, Collection<Component> components) Updates the TOC file by reading existing component entries, merging them with the given components, sorting the combined list in lexicographic order for deterministic output.static voidCompressionInfoComponent.verifyCompressionInfoExistenceIfApplicable(Descriptor descriptor, Set<Component> actualComponents) Best-effort checking to verify the expected compression info component exists, according to the TOC file. -
Uses of Component in org.apache.cassandra.io.sstable.format.big
Fields in org.apache.cassandra.io.sstable.format.big declared as ComponentModifier and TypeFieldDescriptionstatic final ComponentBigFormat.Components.PRIMARY_INDEXstatic final ComponentBigFormat.Components.SUMMARYMethods in org.apache.cassandra.io.sstable.format.big that return types with arguments of type ComponentModifier and TypeMethodDescriptionBigFormat.allComponents()BigFormat.batchComponents()BigFormat.generatedOnLoadComponents()BigFormat.mutableComponents()BigFormat.primaryComponents()BigFormat.uploadComponents()Method parameters in org.apache.cassandra.io.sstable.format.big with type arguments of type ComponentModifier and TypeMethodDescriptionvoidBigFormat.deleteOrphanedComponents(Descriptor descriptor, Set<Component> components) -
Uses of Component in org.apache.cassandra.io.sstable.format.bti
Fields in org.apache.cassandra.io.sstable.format.bti declared as ComponentModifier and TypeFieldDescriptionstatic final ComponentBtiFormat.Components.PARTITION_INDEXstatic final ComponentBtiFormat.Components.ROW_INDEXMethods in org.apache.cassandra.io.sstable.format.bti that return types with arguments of type ComponentModifier and TypeMethodDescriptionBtiFormat.allComponents()BtiFormat.batchComponents()BtiFormat.generatedOnLoadComponents()BtiFormat.mutableComponents()BtiFormat.primaryComponents()BtiFormat.uploadComponents()Method parameters in org.apache.cassandra.io.sstable.format.bti with type arguments of type ComponentModifier and TypeMethodDescriptionvoidBtiFormat.deleteOrphanedComponents(Descriptor descriptor, Set<Component> components)