检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
In addition, if you delete data by mistake using Gremlin or Cypher commands, you can clear the broken data and import the correct data again. This operation will clear all vertex and edge data of the graph. Exercise caution when performing this operation.
In addition, if you delete data by mistake using Gremlin or Cypher commands, you can clear the broken data and import the correct data again. This operation will clear all vertex and edge data of the graph. Exercise caution when performing this operation.
Deleting Vertices in Batches You can use a specific API provided by GES to delete vertices in batches.
In addition, if you delete data by mistake using Gremlin or Cypher commands, you can clear the broken data and import the correct data again. This operation will clear all vertex and edge data of the graph. Exercise caution when performing this operation.
Deleting Edges in Batches You can use a specific API provided by GES to delete edges in batches. The sample code is as follows: public static void deleteBatchEdges(GraphClient graphClient) throws ApiException { // Construct the information of a single edge.
Updating a Label Function In the current version, this API can only add properties to the end of existing labels, but cannot delete existing properties or update the property sequence. URI POST /ges/v1.0/{project_id}/graphs/{graph_name}/schema?
The sample code is as follows: private static void queryJobs(GesClient client) throws GesSdkException { JobsResp jobResp = client.queryJobs(); System.out.println(jobResp); } Asynchronous APIs that are used to stop, start, restore, and delete graphs, as well
Deleting a Vertex (1.0.6) Function This API is used to delete a vertex. URI DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/{vertex_id} Table 1 URI parameters Parameter Mandatory Type Description project_id Yes String Project ID.
private static void getJobStatus(GesClient client, String graphId, String jobId) throws GesSdkException { JobResp jobsResp = client.queryJobStats(graphId, jobId); System.out.println(jobsResp); } Asynchronous APIs that are used to stop, start, restore, and delete
Asynchronous APIs that are used to create, stop, start, delete, and import graphs will return job IDs after commands are sent. You can query the job execution status according to the job IDs.
Asynchronous APIs that are used to create, stop, start, delete, and import graphs will return job IDs after commands are sent. You can query the job execution status according to the job IDs.
Example Request Delete a graph.
Deleting Metadata Function This API is used to delete the metadata. URI DELETE /v1.0/{project_id}/graphs/metadatas/{metadata_id} Table 1 URI parameters Parameter Mandatory Type Description project_id Yes String Project ID, which is used for resource isolation.
Deleting Metadata (1.0.2) Function This API is used to delete the metadata. URI DELETE /v1.0/{project_id}/graphs/metadatas/{metadata_id} Table 1 URI parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Deleting a Vertex Function This API is used to delete a vertex.
Deleting an Index (1.1.6) Function This API is used to delete an index based on the specified indexName. URI DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/indices/{indexName} Table 1 URI parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Deleting an Index Function This API is used to delete an index based on the specified indexName. URI DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/indices/{indexName} Table 1 URI parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Deleting Edges in Batches Function This API is used to delete edges in batches based on the source vertices, target vertices, and indexes of the edges. URI URI format POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?
Deleting Vertices and Edges by Files Function This API is used to delete vertices and edges by reading the files. URL URI format POST /v1.0/{project_id}/graphs/{graph_name}/action?
Deleting a Graph Function This API is used to delete a graph. URI DELETE /v1.0/{project_id}/graphs/{graph_id} Table 1 URI parameters Parameter Mandatory Type Description project_id Yes String Project ID, which is used for resource isolation.