public class CompressionSplitIterator extends Object implements SplitIterator
Constructor and Description |
---|
CompressionSplitIterator(SplitIterator baseIterator,
CompressionFormat format) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getLocalityInfo()
Get the list of machines for which access to the current
split is local.
|
DataSplit |
getSplit()
Get the current split in the iterated set.
|
boolean |
next()
Advance to the next data split in the iterated set.
|
public CompressionSplitIterator(SplitIterator baseIterator, CompressionFormat format)
public boolean next() throws IOException
SplitIterator
next
in interface SplitIterator
true
if there is another split,
otherwise false
.IOException
public DataSplit getSplit()
SplitIterator
getSplit
in interface SplitIterator
public List<String> getLocalityInfo()
SplitIterator
getLocalityInfo
in interface SplitIterator
Copyright © 2016 Actian Corporation. All rights reserved.