Search in sources :

Example 1 with OlapPropertyKeyCreateJob

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

the class SchemaTransaction method createOlapPk.

public Id createOlapPk(PropertyKey propertyKey) {
    LOG.debug("SchemaTransaction create olap property key {} with id '{}'", propertyKey.name(), propertyKey.id());
    SchemaJob callable = new OlapPropertyKeyCreateJob();
    return asyncRun(this.graph(), propertyKey, callable);
}
Also used : OlapPropertyKeyCreateJob(com.baidu.hugegraph.job.schema.OlapPropertyKeyCreateJob) SchemaJob(com.baidu.hugegraph.job.schema.SchemaJob)

Aggregations

OlapPropertyKeyCreateJob (com.baidu.hugegraph.job.schema.OlapPropertyKeyCreateJob)1 SchemaJob (com.baidu.hugegraph.job.schema.SchemaJob)1