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