public class IndexRepairJob extends IndexUpdateJob implements VertexScanJob
Modifier and Type | Field and Description |
---|---|
static String |
ADDED_RECORDS_COUNT
The number of composite-index entries modified or added to the storage
backend by this job.
|
static String |
DOCUMENT_UPDATES_COUNT
The number of mixed-index documents (or whatever idiom is equivalent to the
document in the backend implementation) modified by this job
|
FAILED_TX, graph, index, INDEX_JOB_NS, INDEX_NAME, INDEX_RELATION_TYPE, indexName, indexRelationType, indexRelationTypeName, jobStartTime, log, managementSystem, SUCCESS_TX, writeTx
Modifier | Constructor and Description |
---|---|
|
IndexRepairJob() |
protected |
IndexRepairJob(IndexRepairJob job) |
|
IndexRepairJob(String indexName,
String indexType) |
Modifier and Type | Method and Description |
---|---|
IndexRepairJob |
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.
|
void |
process(JanusGraphVertex vertex,
ScanMetrics metrics)
Process the given vertex with its adjacency list and properties pre-loaded.
|
protected void |
validateIndexStatus()
Check that our target index is in either the ENABLED or REGISTERED state.
|
void |
workerIterationEnd(ScanMetrics metrics) |
isGlobalGraphIndex, isRelationTypeIndex, workerIterationStart
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
workerIterationStart
public static final String ADDED_RECORDS_COUNT
public static final String DOCUMENT_UPDATES_COUNT
public IndexRepairJob()
protected IndexRepairJob(IndexRepairJob job)
protected void validateIndexStatus()
validateIndexStatus
in class IndexUpdateJob
public void process(JanusGraphVertex vertex, ScanMetrics metrics)
VertexScanJob
process
in interface VertexScanJob
public void workerIterationEnd(ScanMetrics metrics)
workerIterationEnd
in interface VertexScanJob
workerIterationEnd
in class IndexUpdateJob
ScanJob
public void getQueries(QueryContainer queries)
VertexScanJob
getQueries
in interface VertexScanJob
public IndexRepairJob clone()
VertexScanJob
clone
in interface VertexScanJob
clone
in class Object
Copyright © 2012–2024. All rights reserved.