-
Constructor Summary
Constructors
-
Method Summary
void
float
void
initialize(org.apache.hadoop.fs.FSDataInputStream stream)
void
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ShapeFileReader
public ShapeFileReader()
empty constructor
-
ShapeFileReader
public ShapeFileReader(int[] indexes)
constructor with index
- Parameters:
indexes - offsets of records in the .shp file
-
Method Details
-
-
-
-
getCurrentKey
- Specified by:
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<ShapeKey,ShpRecord>
-
getCurrentValue
- Specified by:
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<ShapeKey,ShpRecord>
-
getProgress
public float getProgress()
- Specified by:
getProgress in class org.apache.hadoop.mapreduce.RecordReader<ShapeKey,ShpRecord>
-