List of usage examples for org.apache.cassandra.db.lifecycle LifecycleTransaction originals
Set originals
To view the source code for org.apache.cassandra.db.lifecycle LifecycleTransaction originals.
Click Source Link
From source file:com.jeffjirsa.cassandra.db.compaction.writers.CleaningTimeWindowCompactionWriter.java
License:Apache License
@SuppressWarnings("resource") public CleaningTimeWindowCompactionWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables, int nowInSec, boolean offline, boolean keepOriginals) { super(cfs, directories, txn, nonExpiredSSTables, offline, keepOriginals); this.allSSTables = txn.originals(); this.txn = txn; this.sstableWriter = SSTableRewriter.constructKeepingOriginals(txn, keepOriginals, maxAge, offline); this.sortedRanges = Range.normalize(StorageService.instance.getLocalRanges(cfs.keyspace.getName())); this.nowInSec = nowInSec; }