Search in sources :

Example 1 with EdgeLabelRemoveJob

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

the class SchemaTransaction method removeEdgeLabel.

@Watched(prefix = "schema")
public Id removeEdgeLabel(Id id) {
    LOG.debug("SchemaTransaction remove edge label '{}'", id);
    SchemaJob callable = new EdgeLabelRemoveJob();
    EdgeLabel schema = this.getEdgeLabel(id);
    return asyncRun(this.graph(), schema, callable);
}
Also used : EdgeLabelRemoveJob(com.baidu.hugegraph.job.schema.EdgeLabelRemoveJob) EdgeLabel(com.baidu.hugegraph.schema.EdgeLabel) SchemaJob(com.baidu.hugegraph.job.schema.SchemaJob) Watched(com.baidu.hugegraph.perf.PerfUtil.Watched)

Aggregations

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