public class VertexMapJob extends Object implements VertexScanJob
Modifier and Type | Class and Description |
---|---|
static class |
VertexMapJob.Executor |
Modifier and Type | Field and Description |
---|---|
static String |
MAP_JOB_FAILURE |
static String |
MAP_JOB_SUCCESS |
static PreloadedVertex.AccessCheck |
MAPREDUCE_CHECK |
Modifier and Type | Method and Description |
---|---|
VertexMapJob |
clone()
Returns a clone of this VertexScanJob.
|
void |
getQueries(QueryContainer queries)
Specify the queries for the data to be loaded into the vertices prior to processing.
|
static VertexMapJob.Executor |
getVertexMapJob(StandardJanusGraph graph,
FulgoraVertexMemory vertexMemory,
Map<org.apache.tinkerpop.gremlin.process.computer.MapReduce,FulgoraMapEmitter> mapJobs) |
void |
process(JanusGraphVertex vertex,
ScanMetrics metrics)
Process the given vertex with its adjacency list and properties pre-loaded.
|
void |
workerIterationEnd(ScanMetrics metrics) |
void |
workerIterationStart(JanusGraph graph,
Configuration config,
ScanMetrics metrics) |
public static final PreloadedVertex.AccessCheck MAPREDUCE_CHECK
public static final String MAP_JOB_SUCCESS
public static final String MAP_JOB_FAILURE
public VertexMapJob clone()
VertexScanJob
clone
in interface VertexScanJob
clone
in class Object
public void workerIterationStart(JanusGraph graph, Configuration config, ScanMetrics metrics)
workerIterationStart
in interface VertexScanJob
ScanJob
public void workerIterationEnd(ScanMetrics metrics)
workerIterationEnd
in interface VertexScanJob
ScanJob
public void process(JanusGraphVertex vertex, ScanMetrics metrics)
VertexScanJob
process
in interface VertexScanJob
public void getQueries(QueryContainer queries)
VertexScanJob
getQueries
in interface VertexScanJob
public static VertexMapJob.Executor getVertexMapJob(StandardJanusGraph graph, FulgoraVertexMemory vertexMemory, Map<org.apache.tinkerpop.gremlin.process.computer.MapReduce,FulgoraMapEmitter> mapJobs)
Copyright © 2012–2023. All rights reserved.