Package org.rocksdb
Class CompactionJobInfo
java.lang.Object
org.rocksdb.AbstractNativeReference
org.rocksdb.AbstractImmutableNativeReference
org.rocksdb.RocksObject
org.rocksdb.CompactionJobInfo
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the smallest input level of the compaction.byte[]Get the name of the column family where the compaction happened.Get the Reason for running the compaction.Get the compression algorithm used for output files.protected voiddisposeInternal(long handle) Get the names of the compaction input files.intjobId()Get the job id, which is unique in the same thread.Get the names of the compaction output files.intGet the output level of the compaction.stats()Get detailed information about this compaction.status()Get the status indicating whether the compaction was successful or not.Get the table properties for the input and output tables.longthreadId()Get the id of the thread that completed this compaction job.Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandleMethods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
Constructor Details
-
CompactionJobInfo
public CompactionJobInfo()
-
-
Method Details
-
columnFamilyName
public byte[] columnFamilyName()Get the name of the column family where the compaction happened.- Returns:
- the name of the column family
-
status
Get the status indicating whether the compaction was successful or not.- Returns:
- the status
-
threadId
public long threadId()Get the id of the thread that completed this compaction job.- Returns:
- the id of the thread
-
jobId
public int jobId()Get the job id, which is unique in the same thread.- Returns:
- the id of the thread
-
baseInputLevel
public int baseInputLevel()Get the smallest input level of the compaction.- Returns:
- the input level
-
outputLevel
public int outputLevel()Get the output level of the compaction.- Returns:
- the output level
-
inputFiles
Get the names of the compaction input files.- Returns:
- the names of the input files.
-
outputFiles
Get the names of the compaction output files.- Returns:
- the names of the output files.
-
tableProperties
Get the table properties for the input and output tables.The map is keyed by values from
inputFiles()andoutputFiles().- Returns:
- the table properties
-
compactionReason
Get the Reason for running the compaction.- Returns:
- the reason.
-
compression
Get the compression algorithm used for output files.- Returns:
- the compression algorithm
-
stats
Get detailed information about this compaction.- Returns:
- the detailed information, or null if not available.
-
disposeInternal
protected void disposeInternal(long handle) - Specified by:
disposeInternalin classRocksObject
-