public class LoaderScriptWrapper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LoaderScriptWrapper.Counters |
| Constructor and Description |
|---|
LoaderScriptWrapper(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path scriptPath) |
| Modifier and Type | Method and Description |
|---|---|
TitanEdge |
getEdge(FaunusEdge faunusEdge,
TitanVertex in,
TitanVertex out,
TitanGraph graph,
org.apache.hadoop.mapreduce.Mapper.Context context) |
TitanVertex |
getVertex(FaunusVertex faunusVertex,
TitanGraph graph,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
getVProp(TitanProperty titanProperty,
TitanVertex vertex,
TitanGraph graph,
org.apache.hadoop.mapreduce.Mapper.Context context) |
boolean |
hasEdgeMethod() |
boolean |
hasVertexMethod() |
boolean |
hasVPropMethod() |
public LoaderScriptWrapper(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path scriptPath)
throws IOException
IOExceptionpublic boolean hasVertexMethod()
public boolean hasVPropMethod()
public boolean hasEdgeMethod()
public TitanVertex getVertex(FaunusVertex faunusVertex, TitanGraph graph, org.apache.hadoop.mapreduce.Mapper.Context context)
public void getVProp(TitanProperty titanProperty, TitanVertex vertex, TitanGraph graph, org.apache.hadoop.mapreduce.Mapper.Context context)
public TitanEdge getEdge(FaunusEdge faunusEdge, TitanVertex in, TitanVertex out, TitanGraph graph, org.apache.hadoop.mapreduce.Mapper.Context context)
Copyright © 2012–2016. All rights reserved.