public abstract class AccumuloMutationElementMapper<KEYIN,VALUEIN> extends ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,org.apache.accumulo.core.data.Mutation>
GRAPH_CONFIG_PREFIX| Constructor and Description |
|---|
AccumuloMutationElementMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.io.Text |
getKey(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text tableName,
org.apache.accumulo.core.data.Mutation m) |
protected void |
saveDataMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text dataTableName,
org.apache.accumulo.core.data.Mutation m) |
protected void |
saveEdgeMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text edgesTableName,
org.apache.accumulo.core.data.Mutation m) |
protected void |
saveExtendedDataMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text tableName,
org.apache.accumulo.core.data.Mutation m) |
protected void |
saveVertexMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text verticesTableName,
org.apache.accumulo.core.data.Mutation m) |
addEdge, getGraph, getIdGenerator, prepareEdge, prepareEdge, prepareEdge, prepareEdge, prepareEdge, prepareVertex, prepareVertex, prepareVertex, setupprotected void saveDataMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text dataTableName,
org.apache.accumulo.core.data.Mutation m)
throws IOException,
InterruptedException
saveDataMutation in class ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,org.apache.accumulo.core.data.Mutation>IOExceptionInterruptedExceptionprotected void saveEdgeMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text edgesTableName,
org.apache.accumulo.core.data.Mutation m)
throws IOException,
InterruptedException
saveEdgeMutation in class ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,org.apache.accumulo.core.data.Mutation>IOExceptionInterruptedExceptionprotected void saveVertexMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text verticesTableName,
org.apache.accumulo.core.data.Mutation m)
throws IOException,
InterruptedException
saveVertexMutation in class ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,org.apache.accumulo.core.data.Mutation>IOExceptionInterruptedExceptionprotected void saveExtendedDataMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text tableName,
org.apache.accumulo.core.data.Mutation m)
throws IOException,
InterruptedException
saveExtendedDataMutation in class ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,org.apache.accumulo.core.data.Mutation>IOExceptionInterruptedExceptionprotected org.apache.hadoop.io.Text getKey(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text tableName,
org.apache.accumulo.core.data.Mutation m)
Copyright © 2014–2017. All rights reserved.