use of com.baidu.hugegraph.job.schema.SchemaJob in project incubator-hugegraph by apache.
the class SchemaTransaction method removeOlapPk.
public Id removeOlapPk(PropertyKey propertyKey) {
LOG.debug("SchemaTransaction remove olap property key {} with id '{}'", propertyKey.name(), propertyKey.id());
SchemaJob callable = new OlapPropertyKeyRemoveJob();
return asyncRun(this.graph(), propertyKey, callable);
}
use of com.baidu.hugegraph.job.schema.SchemaJob 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);
}
Aggregations