public abstract class IndexUpdateJob extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
FAILED_TX |
protected StandardJanusGraph |
graph |
protected Index |
index |
static ConfigNamespace |
INDEX_JOB_NS |
static ConfigOption<String> |
INDEX_NAME |
static ConfigOption<String> |
INDEX_RELATION_TYPE |
protected String |
indexName |
protected RelationType |
indexRelationType |
protected String |
indexRelationTypeName |
protected Instant |
jobStartTime |
protected org.slf4j.Logger |
log |
protected ManagementSystem |
managementSystem |
protected static String |
SUCCESS_TX |
protected StandardJanusGraphTx |
writeTx |
Modifier | Constructor and Description |
---|---|
|
IndexUpdateJob() |
protected |
IndexUpdateJob(IndexUpdateJob copy) |
|
IndexUpdateJob(String indexName,
String indexRelationTypeName) |
Modifier and Type | Method and Description |
---|---|
boolean |
isGlobalGraphIndex() |
boolean |
isRelationTypeIndex() |
protected abstract void |
validateIndexStatus() |
void |
workerIterationEnd(ScanMetrics metrics) |
void |
workerIterationStart(JanusGraph graph,
Configuration config,
ScanMetrics metrics) |
protected final org.slf4j.Logger log
protected static final String SUCCESS_TX
protected static final String FAILED_TX
public static final ConfigNamespace INDEX_JOB_NS
public static final ConfigOption<String> INDEX_NAME
public static final ConfigOption<String> INDEX_RELATION_TYPE
protected String indexRelationTypeName
protected String indexName
protected StandardJanusGraph graph
protected ManagementSystem managementSystem
protected StandardJanusGraphTx writeTx
protected Index index
protected RelationType indexRelationType
protected Instant jobStartTime
public IndexUpdateJob()
protected IndexUpdateJob(IndexUpdateJob copy)
public boolean isGlobalGraphIndex()
public boolean isRelationTypeIndex()
public void workerIterationStart(JanusGraph graph, Configuration config, ScanMetrics metrics)
public void workerIterationEnd(ScanMetrics metrics)
protected abstract void validateIndexStatus()
Copyright © 2012–2024. All rights reserved.