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