public static class VertexProgramScanJob.Executor extends VertexJobConverter implements Closeable
GHOST_VERTEX_COUNT, job, TRUNCATED_ENTRY_LISTS, VERTEX_EXISTS_QUERYgraph, tx| Modifier and Type | Method and Description |
|---|---|
VertexProgramScanJob.Executor |
clone()
Returns a clone of this ScanJob.
|
void |
close() |
List<SliceQuery> |
getQueries()
Returns one or more
SliceQuery instances belonging to this ScanJob. |
void |
workerIterationEnd(ScanMetrics metrics)
Invoked after a block of computation (i.e. multiple process() calls) is handed to this particular ScanJob.
|
void |
workerIterationStart(Configuration jobConfig,
Configuration graphConfig,
ScanMetrics metrics)
Invoked before a block of computation (i.e. multiple process() calls) is handed to this particular ScanJob.
|
convert, convert, getKeyFilter, process, startTransactiongetVertexId, isGhostVertex, openpublic List<SliceQuery> getQueries()
ScanJobSliceQuery instances belonging to this ScanJob.
Before calling
ScanJob.process(org.janusgraph.diskstorage.StaticBuffer, java.util.Map, ScanMetrics),
users of this interface must check that the key in question contains at least one
entry matching the initial SliceQuery returned by this method. See the javadoc
for the process method for more information.
If this method returns more than one query, then the initial query's lower bound must
be all zero bits and the initial query's upper bound must be all one bits (per the
preconditions in StandardScannerExecutor, the reference ScanJob executor).
getQueries in interface ScanJobgetQueries in class VertexJobConverterpublic void workerIterationStart(Configuration jobConfig, Configuration graphConfig, ScanMetrics metrics)
ScanJobVertexProgram.workerIterationStart(Memory)
This method may not be called if there is no data to be processed. Correspondingly, the end method won't be called either.
No-op default implementation.workerIterationStart in interface ScanJobworkerIterationStart in class VertexJobConverterjobConfig - configuration for this particular jobgraphConfig - configuration options for the entire graph against which this job is executedmetrics - ScanMetrics for this jobpublic void workerIterationEnd(ScanMetrics metrics)
ScanJobVertexProgram.workerIterationEnd(Memory)
This method may not be called if there is no data to be processed. Correspondingly, the start method won't be called either.
No-op default implementation.workerIterationEnd in interface ScanJobworkerIterationEnd in class VertexJobConvertermetrics - ScanMetrics for this jobpublic VertexProgramScanJob.Executor clone()
ScanJobclone in interface ScanJobclone in class VertexJobConverterScanJobpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class AbstractScanJobCopyright © 2012–2024. All rights reserved.