public abstract class PurgeFunction extends Transformation<UnfilteredRowIterator>
| Constructor and Description | 
|---|
| PurgeFunction(boolean isForThrift,
             int nowInSec,
             int gcBefore,
             int oldestUnrepairedTombstone,
             boolean onlyPurgeRepairedTombstones,
             boolean enforceStrictLiveness) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DeletionTime | applyToDeletion(DeletionTime deletionTime)Applied to the partition-level deletion of any rows iterator. | 
| protected RangeTombstoneMarker | applyToMarker(RangeTombstoneMarker marker)Applied to any RTM we encounter in a rows/unfiltered iterator | 
| protected UnfilteredRowIterator | applyToPartition(UnfilteredRowIterator partition)Applied to any rows iterator (partition) we encounter in a partitions iterator | 
| protected Row | applyToRow(Row row)Applied to any row we encounter in a rows iterator | 
| protected Row | applyToStatic(Row row)Applied to the static row of any rows iterator. | 
| protected abstract java.util.function.Predicate<java.lang.Long> | getPurgeEvaluator() | 
| protected void | onEmptyPartitionPostPurge(DecoratedKey partitionKey) | 
| protected void | onNewPartition(DecoratedKey partitionKey) | 
| protected void | updateProgress() | 
apply, apply, apply, apply, applyToPartitionColumns, applyToPartitionKey, onClose, onPartitionClosepublic PurgeFunction(boolean isForThrift,
                     int nowInSec,
                     int gcBefore,
                     int oldestUnrepairedTombstone,
                     boolean onlyPurgeRepairedTombstones,
                     boolean enforceStrictLiveness)
protected abstract java.util.function.Predicate<java.lang.Long> getPurgeEvaluator()
protected void onNewPartition(DecoratedKey partitionKey)
protected void onEmptyPartitionPostPurge(DecoratedKey partitionKey)
protected void updateProgress()
protected UnfilteredRowIterator applyToPartition(UnfilteredRowIterator partition)
TransformationapplyToPartition in class Transformation<UnfilteredRowIterator>protected DeletionTime applyToDeletion(DeletionTime deletionTime)
TransformationapplyToDeletion in class Transformation<UnfilteredRowIterator>protected Row applyToStatic(Row row)
TransformationapplyToStatic in class Transformation<UnfilteredRowIterator>protected Row applyToRow(Row row)
TransformationapplyToRow in class Transformation<UnfilteredRowIterator>protected RangeTombstoneMarker applyToMarker(RangeTombstoneMarker marker)
TransformationapplyToMarker in class Transformation<UnfilteredRowIterator>Copyright © 2018 The Apache Software Foundation