- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.NullWritable,org.apache.hadoop.mapred.FileSplit,HilbertValueGroup,RecordInfo>
public class HilbertValueMapper
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.NullWritable,org.apache.hadoop.mapred.FileSplit,HilbertValueGroup,RecordInfo>
Calculates a hilbert value for every point of each input record geometry. The hilbert value is emitted along with the input record as a RecordInfo value. The emitted key contains a fixed group id so can be grouped in one single group.