Search in sources :

Example 1 with IndexLabelRemoveJob

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

the class SchemaTransaction method removeIndexLabel.

@Watched(prefix = "schema")
public Id removeIndexLabel(Id id) {
    LOG.debug("SchemaTransaction remove index label '{}'", id);
    SchemaJob callable = new IndexLabelRemoveJob();
    IndexLabel schema = this.getIndexLabel(id);
    return asyncRun(this.graph(), schema, callable);
}
Also used : IndexLabel(com.baidu.hugegraph.schema.IndexLabel) IndexLabelRemoveJob(com.baidu.hugegraph.job.schema.IndexLabelRemoveJob) SchemaJob(com.baidu.hugegraph.job.schema.SchemaJob) Watched(com.baidu.hugegraph.perf.PerfUtil.Watched)

Aggregations

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