Search in sources :

Example 1 with IndexLabelRebuildJob

use of com.baidu.hugegraph.job.schema.IndexLabelRebuildJob in project incubator-hugegraph by apache.

the class SchemaTransaction method rebuildIndex.

@Watched(prefix = "schema")
public Id rebuildIndex(SchemaElement schema, Set<Id> dependencies) {
    LOG.debug("SchemaTransaction rebuild index for {} with id '{}'", schema.type(), schema.id());
    SchemaJob callable = new IndexLabelRebuildJob();
    return asyncRun(this.graph(), schema, callable, dependencies);
}
Also used : IndexLabelRebuildJob(com.baidu.hugegraph.job.schema.IndexLabelRebuildJob) SchemaJob(com.baidu.hugegraph.job.schema.SchemaJob) Watched(com.baidu.hugegraph.perf.PerfUtil.Watched)

Aggregations

IndexLabelRebuildJob (com.baidu.hugegraph.job.schema.IndexLabelRebuildJob)1 SchemaJob (com.baidu.hugegraph.job.schema.SchemaJob)1 Watched (com.baidu.hugegraph.perf.PerfUtil.Watched)1