use of com.baidu.hugegraph.api.schema.PropertyKeyAPI in project incubator-hugegraph-toolchain by apache.
the class BaseApiTest method init.
@BeforeClass
public static void init() {
BaseClientTest.init();
if (client == null) {
initClient();
}
versionAPI = new VersionAPI(client);
client.apiVersion(VersionUtil.Version.of(versionAPI.get().get("api")));
graphsAPI = new GraphsAPI(client);
propertyKeyAPI = new PropertyKeyAPI(client, GRAPH);
vertexLabelAPI = new VertexLabelAPI(client, GRAPH);
edgeLabelAPI = new EdgeLabelAPI(client, GRAPH);
indexLabelAPI = new IndexLabelAPI(client, GRAPH);
schemaAPI = new SchemaAPI(client, GRAPH);
vertexAPI = new VertexAPI(client, GRAPH);
edgeAPI = new EdgeAPI(client, GRAPH);
variablesAPI = new VariablesAPI(client, GRAPH);
taskAPI = new TaskAPI(client, GRAPH);
rebuildAPI = new RebuildAPI(client, GRAPH);
}
Aggregations