public class ThriftResultsMerger extends WrappingUnfilteredPartitionIterator
wrapped| Modifier and Type | Method and Description |
|---|---|
protected UnfilteredRowIterator |
computeNext(UnfilteredRowIterator iter)
Given the next UnfilteredRowIterator from the wrapped partition iterator, return
the (potentially modified) UnfilteredRowIterator to return.
|
static UnfilteredPartitionIterator |
maybeWrap(UnfilteredPartitionIterator iterator,
CFMetaData metadata,
int nowInSec) |
static UnfilteredRowIterator |
maybeWrap(UnfilteredRowIterator iterator,
int nowInSec) |
close, hasNext, isForThrift, metadata, nextremovepublic static UnfilteredPartitionIterator maybeWrap(UnfilteredPartitionIterator iterator, CFMetaData metadata, int nowInSec)
public static UnfilteredRowIterator maybeWrap(UnfilteredRowIterator iterator, int nowInSec)
protected UnfilteredRowIterator computeNext(UnfilteredRowIterator iter)
WrappingUnfilteredPartitionIteratornull of if it's empty.
The default implementation return it's input unchanged to make it easier
to write wrapping partition iterators that only change the close method.computeNext in class WrappingUnfilteredPartitionIteratorCopyright © 2015 The Apache Software Foundation