use of com.baidu.hugegraph.api.BaseApiTest in project incubator-hugegraph-toolchain by apache.
the class CustomizedPathsApiTest method removeEdgesWithWeights.
private static void removeEdgesWithWeights() {
List<Long> elTaskIds = new ArrayList<>();
EdgeLabel knows1 = schema().getEdgeLabel("knows1");
EdgeLabel created1 = schema().getEdgeLabel("created1");
ImmutableList.of(knows1, created1).forEach(edgeLabel -> {
elTaskIds.add(edgeLabelAPI.delete(edgeLabel.name()));
});
elTaskIds.forEach(BaseApiTest::waitUntilTaskCompleted);
}
Aggregations