public class ShapeRecordReader<S extends Shape> extends SpatialRecordReader<Rectangle,S>
ShapeSpatialRecordReader.ShapeIteratorblockSize, 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, nextShapespublic ShapeRecordReader(Configuration job,
FileSplit split)
throws java.io.IOException
java.io.IOExceptionpublic ShapeRecordReader(CombineFileSplit split,
Configuration conf,
Reporter reporter,
java.lang.Integer index)
throws java.io.IOException
java.io.IOExceptionpublic ShapeRecordReader(java.io.InputStream in,
long offset,
long endOffset)
throws java.io.IOException
java.io.IOException