public MutableDeletionInfo copy(AbstractAllocator allocator) { RangeTombstoneList rangesCopy = null; if (ranges != null) rangesCopy = ranges.copy(allocator); return new MutableDeletionInfo(partitionDeletion, rangesCopy); }
public MutableDeletionInfo copy(AbstractAllocator allocator) { RangeTombstoneList rangesCopy = null; if (ranges != null) rangesCopy = ranges.copy(allocator); return new MutableDeletionInfo(partitionDeletion, rangesCopy); }
public DeletionInfo copy(AbstractAllocator allocator) { RangeTombstoneList rangesCopy = null; if (ranges != null) rangesCopy = ranges.copy(allocator); return new DeletionInfo(topLevel, rangesCopy); }
public MutableDeletionInfo copy(AbstractAllocator allocator) { RangeTombstoneList rangesCopy = null; if (ranges != null) rangesCopy = ranges.copy(allocator); return new MutableDeletionInfo(partitionDeletion, rangesCopy); }
public MutableDeletionInfo copy(AbstractAllocator allocator) { RangeTombstoneList rangesCopy = null; if (ranges != null) rangesCopy = ranges.copy(allocator); return new MutableDeletionInfo(partitionDeletion, rangesCopy); }
public MutableDeletionInfo mutableCopy() { return new MutableDeletionInfo(partitionDeletion, ranges == null ? null : ranges.copy()); }
public MutableDeletionInfo mutableCopy() { return new MutableDeletionInfo(partitionDeletion, ranges == null ? null : ranges.copy()); }
public DeletionInfo copy() { return new DeletionInfo(topLevel, ranges == null ? null : ranges.copy()); }
public MutableDeletionInfo mutableCopy() { return new MutableDeletionInfo(partitionDeletion, ranges == null ? null : ranges.copy()); }
public MutableDeletionInfo mutableCopy() { return new MutableDeletionInfo(partitionDeletion, ranges == null ? null : ranges.copy()); }
/** * Combines another DeletionInfo with this one and returns the result. Whichever top-level tombstone * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime. The * range tombstones will be combined. * * @return this object. */ public DeletionInfo add(DeletionInfo newInfo) { add(newInfo.topLevel); if (ranges == null) ranges = newInfo.ranges == null ? null : newInfo.ranges.copy(); else if (newInfo.ranges != null) ranges.addAll(newInfo.ranges); return this; }
/** * Combines another DeletionInfo with this one and returns the result. Whichever top-level tombstone * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime. The * range tombstones will be combined. * * @return this object. */ public DeletionInfo add(DeletionInfo newInfo) { add(newInfo.getPartitionDeletion()); // We know MutableDeletionInfo is the only impelementation and we're not mutating it, it's just to get access to the // RangeTombstoneList directly. assert newInfo instanceof MutableDeletionInfo; RangeTombstoneList newRanges = ((MutableDeletionInfo)newInfo).ranges; if (ranges == null) ranges = newRanges == null ? null : newRanges.copy(); else if (newRanges != null) ranges.addAll(newRanges); return this; }
/** * Combines another DeletionInfo with this one and returns the result. Whichever top-level tombstone * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime. The * range tombstones will be combined. * * @return this object. */ public DeletionInfo add(DeletionInfo newInfo) { add(newInfo.getPartitionDeletion()); // We know MutableDeletionInfo is the only impelementation and we're not mutating it, it's just to get access to the // RangeTombstoneList directly. assert newInfo instanceof MutableDeletionInfo; RangeTombstoneList newRanges = ((MutableDeletionInfo)newInfo).ranges; if (ranges == null) ranges = newRanges == null ? null : newRanges.copy(); else if (newRanges != null) ranges.addAll(newRanges); return this; }
/** * Combines another DeletionInfo with this one and returns the result. Whichever top-level tombstone * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime. The * range tombstones will be combined. * * @return this object. */ public DeletionInfo add(DeletionInfo newInfo) { add(newInfo.getPartitionDeletion()); // We know MutableDeletionInfo is the only impelementation and we're not mutating it, it's just to get access to the // RangeTombstoneList directly. assert newInfo instanceof MutableDeletionInfo; RangeTombstoneList newRanges = ((MutableDeletionInfo)newInfo).ranges; if (ranges == null) ranges = newRanges == null ? null : newRanges.copy(); else if (newRanges != null) ranges.addAll(newRanges); return this; }
/** * Combines another DeletionInfo with this one and returns the result. Whichever top-level tombstone * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime. The * range tombstones will be combined. * * @return this object. */ public DeletionInfo add(DeletionInfo newInfo) { add(newInfo.getPartitionDeletion()); // We know MutableDeletionInfo is the only impelementation and we're not mutating it, it's just to get access to the // RangeTombstoneList directly. assert newInfo instanceof MutableDeletionInfo; RangeTombstoneList newRanges = ((MutableDeletionInfo)newInfo).ranges; if (ranges == null) ranges = newRanges == null ? null : newRanges.copy(); else if (newRanges != null) ranges.addAll(newRanges); return this; }