public class ShapeArrayRecordReader extends SpatialRecordReader<Rectangle,ArrayWritable>
SpatialRecordReader.ShapeIterator
Modifier and Type | Field and Description |
---|---|
static Log |
LOG |
blockSize, blockType, buffer, cellMbr, end, lineReader, pos, start, tempLine
Constructor and Description |
---|
ShapeArrayRecordReader(CombineFileSplit split,
Configuration conf,
Reporter reporter,
java.lang.Integer index) |
ShapeArrayRecordReader(Configuration job,
FileSplit split) |
ShapeArrayRecordReader(java.io.InputStream is,
long offset,
long endOffset) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
createKey() |
ArrayWritable |
createValue() |
boolean |
next(Rectangle key,
ArrayWritable shapes) |
close, getPos, getProgress, initializeReader, nextLine, nextRTree, nextShape, nextShapeIter, nextShapes
public ShapeArrayRecordReader(CombineFileSplit split, Configuration conf, Reporter reporter, java.lang.Integer index) throws java.io.IOException
java.io.IOException
public ShapeArrayRecordReader(Configuration job, FileSplit split) throws java.io.IOException
java.io.IOException
public ShapeArrayRecordReader(java.io.InputStream is, long offset, long endOffset) throws java.io.IOException
java.io.IOException