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, next
remove
public static UnfilteredPartitionIterator maybeWrap(UnfilteredPartitionIterator iterator, CFMetaData metadata, int nowInSec)
public static UnfilteredRowIterator maybeWrap(UnfilteredRowIterator iterator, int nowInSec)
protected UnfilteredRowIterator computeNext(UnfilteredRowIterator iter)
WrappingUnfilteredPartitionIterator
null
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 WrappingUnfilteredPartitionIterator
Copyright © 2015 The Apache Software Foundation