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, mgmt, 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(TitanVertex 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) |
void |
workerIterationStart(TitanGraph graph,
Configuration config,
ScanMetrics metrics) |
isGlobalGraphIndex, isRelationTypeIndexpublic static final String ADDED_RECORDS_COUNT
public static final String DOCUMENT_UPDATES_COUNT
public IndexRepairJob()
protected IndexRepairJob(IndexRepairJob job)
public void workerIterationEnd(ScanMetrics metrics)
workerIterationEnd in interface VertexScanJobworkerIterationEnd in class IndexUpdateJobScanJobpublic void workerIterationStart(TitanGraph graph, Configuration config, ScanMetrics metrics)
workerIterationStart in interface VertexScanJobworkerIterationStart in class IndexUpdateJobScanJobprotected void validateIndexStatus()
validateIndexStatus in class IndexUpdateJobpublic void process(TitanVertex vertex, ScanMetrics metrics)
VertexScanJobprocess in interface VertexScanJobpublic void getQueries(QueryContainer queries)
VertexScanJobgetQueries in interface VertexScanJobpublic IndexRepairJob clone()
VertexScanJobclone in interface VertexScanJobclone in class ObjectCopyright © 2012–2015. All rights reserved.