public class OSMMapperBase<T>
extends org.apache.hadoop.mapreduce.Mapper<org.apache.avro.mapred.AvroKey<T>,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text,org.apache.accumulo.core.data.Mutation>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.io.Text |
_tableName |
protected org.apache.accumulo.core.security.ColumnVisibility |
_visibility |
protected FieldWriter<?,Boolean> |
booleanWriter |
protected FieldWriter<?,Calendar> |
calendarWriter |
protected FieldWriter<?,Double> |
doubleWriter |
protected FieldWriter<?,Integer> |
intWriter |
protected FieldWriter<?,Long> |
longWriter |
protected FieldWriter<?,String> |
stringWriter |
| Constructor and Description |
|---|
OSMMapperBase() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
getIdHash(long id) |
protected void |
put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
AvroLongArray val) |
protected void |
put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
Boolean val) |
protected void |
put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
Calendar val) |
protected void |
put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
CharSequence val) |
protected void |
put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
Double val) |
protected void |
put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
Integer val) |
protected void |
put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
Long val) |
protected void |
put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
String val) |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected final FieldWriter<?,Long> longWriter
protected final FieldWriter<?,Integer> intWriter
protected final FieldWriter<?,String> stringWriter
protected final FieldWriter<?,Double> doubleWriter
protected final FieldWriter<?,Boolean> booleanWriter
protected final FieldWriter<?,Calendar> calendarWriter
protected org.apache.accumulo.core.security.ColumnVisibility _visibility
protected org.apache.hadoop.io.Text _tableName
protected byte[] getIdHash(long id)
protected void put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
CharSequence val)
protected void put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
Calendar val)
protected void put(org.apache.accumulo.core.data.Mutation m,
String cf,
String cq,
AvroLongArray val)
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Mapper<org.apache.avro.mapred.AvroKey<T>,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text,org.apache.accumulo.core.data.Mutation>IOExceptionInterruptedExceptionCopyright © 2013–2019. All rights reserved.