public static class DistributedPentomino.PentMap
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.WritableComparable<?>,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
| Constructor and Description |
|---|
PentMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(org.apache.hadoop.io.WritableComparable<?> key,
org.apache.hadoop.io.Text value,
org.apache.hadoop.mapreduce.Mapper.Context context)
Break the prefix string into moves (a sequence of integer row ids that
will be selected for each column in order).
|
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public void map(org.apache.hadoop.io.WritableComparable<?> key,
org.apache.hadoop.io.Text value,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.WritableComparable<?>,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionpublic void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
setup in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.WritableComparable<?>,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>Copyright © 2008–2020 Apache Software Foundation. All rights reserved.