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