public abstract class StoppingTransformation<I extends BaseRowIterator<?>> extends Transformation<I>
| Constructor and Description | 
|---|
| StoppingTransformation() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | attachTo(BasePartitions partitions) | 
| protected void | attachTo(BaseRows rows) | 
| protected void | onClose()Run on the close of any (logical) partitions iterator this function was applied to
 We stipulate logical, because if applied to a transformed iterator the lifetime of the iterator
 object may be longer than the lifetime of the "logical" iterator it was applied to; if the iterator
 is refilled with MoreContents, for instance, the iterator may outlive this function | 
| protected void | onPartitionClose()Run on the close of any (logical) rows iterator this function was applied to
 We stipulate logical, because if applied to a transformed iterator the lifetime of the iterator
 object may be longer than the lifetime of the "logical" iterator it was applied to; if the iterator
 is refilled with MoreContents, for instance, the iterator may outlive this function | 
| protected void | stop()If invoked by a subclass, any partitions iterator this transformation has been applied to will terminate
 after any currently-processing item is returned, as will any row/unfiltered iterator | 
| protected void | stopInPartition()If invoked by a subclass, any rows/unfiltered iterator this transformation has been applied to will terminate
 after any currently-processing item is returned | 
apply, apply, apply, apply, applyToDeletion, applyToMarker, applyToPartition, applyToPartitionColumns, applyToPartitionKey, applyToRow, applyToStatic@DontInline protected void stop()
@DontInline protected void stopInPartition()
protected void attachTo(BasePartitions partitions)
protected void attachTo(BaseRows rows)
protected void onClose()
TransformationonClose in class Transformation<I extends BaseRowIterator<?>>protected void onPartitionClose()
TransformationonPartitionClose in class Transformation<I extends BaseRowIterator<?>>Copyright © 2018 The Apache Software Foundation