类 GraphServiceEdgeManagementApi
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.api.GraphServiceEdgeManagementApi
-
public class GraphServiceEdgeManagementApi extends Object
-
-
构造器概要
构造器 构造器 说明 GraphServiceEdgeManagementApi()GraphServiceEdgeManagementApi(ApiClient apiClient)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringaddEdge(String graphId, EdgeRequest edgeRequest)Add edge to the graph Add the edge to graph.okhttp3.CalladdEdgeAsync(String graphId, EdgeRequest edgeRequest, ApiCallback<String> _callback)Add edge to the graph (asynchronously) Add the edge to graph.okhttp3.CalladdEdgeCall(String graphId, EdgeRequest edgeRequest, ApiCallback _callback)Build call for addEdgeApiResponse<String>addEdgeWithHttpInfo(String graphId, EdgeRequest edgeRequest)Add edge to the graph Add the edge to graph.StringdeleteEdge(String graphId, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue)Remove edge from the graph Remove the edge from current graph.okhttp3.CalldeleteEdgeAsync(String graphId, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue, ApiCallback<String> _callback)Remove edge from the graph (asynchronously) Remove the edge from current graph.okhttp3.CalldeleteEdgeCall(String graphId, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue, ApiCallback _callback)Build call for deleteEdgeApiResponse<String>deleteEdgeWithHttpInfo(String graphId, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue)Remove edge from the graph Remove the edge from current graph.ApiClientgetApiClient()StringgetCustomBaseUrl()EdgeDatagetEdge(String graphId, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue)Get the edge's properties with src and dst vertex primary keys.okhttp3.CallgetEdgeAsync(String graphId, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue, ApiCallback<EdgeData> _callback)Get the edge's properties with src and dst vertex primary keys.okhttp3.CallgetEdgeCall(String graphId, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue, ApiCallback _callback)Build call for getEdgeApiResponse<EdgeData>getEdgeWithHttpInfo(String graphId, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue)Get the edge's properties with src and dst vertex primary keys.intgetHostIndex()voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)StringupdateEdge(String graphId, EdgeRequest edgeRequest)Update edge's property Update the edge on the running graph.okhttp3.CallupdateEdgeAsync(String graphId, EdgeRequest edgeRequest, ApiCallback<String> _callback)Update edge's property (asynchronously) Update the edge on the running graph.okhttp3.CallupdateEdgeCall(String graphId, EdgeRequest edgeRequest, ApiCallback _callback)Build call for updateEdgeApiResponse<String>updateEdgeWithHttpInfo(String graphId, EdgeRequest edgeRequest)Update edge's property Update the edge on the running graph.
-
-
-
构造器详细资料
-
GraphServiceEdgeManagementApi
public GraphServiceEdgeManagementApi()
-
GraphServiceEdgeManagementApi
public GraphServiceEdgeManagementApi(ApiClient apiClient)
-
-
方法详细资料
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(String customBaseUrl)
-
addEdgeCall
public okhttp3.Call addEdgeCall(String graphId, EdgeRequest edgeRequest, ApiCallback _callback) throws ApiException
Build call for addEdge- 参数:
graphId- (required)edgeRequest- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Successfully insert the edge - 400 Invalid input edge - 409 edge already exists - 500 Server internal error -
-
addEdge
public String addEdge(String graphId, EdgeRequest edgeRequest) throws ApiException
Add edge to the graph Add the edge to graph.- 参数:
graphId- (required)edgeRequest- (optional)- 返回:
- String
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Successfully insert the edge - 400 Invalid input edge - 409 edge already exists - 500 Server internal error -
-
addEdgeWithHttpInfo
public ApiResponse<String> addEdgeWithHttpInfo(String graphId, EdgeRequest edgeRequest) throws ApiException
Add edge to the graph Add the edge to graph.- 参数:
graphId- (required)edgeRequest- (optional)- 返回:
- ApiResponse<String>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Successfully insert the edge - 400 Invalid input edge - 409 edge already exists - 500 Server internal error -
-
addEdgeAsync
public okhttp3.Call addEdgeAsync(String graphId, EdgeRequest edgeRequest, ApiCallback<String> _callback) throws ApiException
Add edge to the graph (asynchronously) Add the edge to graph.- 参数:
graphId- (required)edgeRequest- (optional)_callback- The callback to be executed when the API call finishes- 返回:
- The request call
- 抛出:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Successfully insert the edge - 400 Invalid input edge - 409 edge already exists - 500 Server internal error -
-
deleteEdgeCall
public okhttp3.Call deleteEdgeCall(String graphId, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue, ApiCallback _callback) throws ApiException
Build call for deleteEdge- 参数:
graphId- (required)srcLabel- The label name of src vertex. (required)srcPrimaryKeyValue- The primary key value of src vertex. (required)dstLabel- The label name of dst vertex. (required)dstPrimaryKeyValue- The primary key value of dst vertex. (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Successfully delete edge - 400 Invalid input edge - 404 Edge not exists or Graph not exits - 500 Server internal error -
-
deleteEdge
public String deleteEdge(String graphId, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue) throws ApiException
Remove edge from the graph Remove the edge from current graph.- 参数:
graphId- (required)srcLabel- The label name of src vertex. (required)srcPrimaryKeyValue- The primary key value of src vertex. (required)dstLabel- The label name of dst vertex. (required)dstPrimaryKeyValue- The primary key value of dst vertex. (required)- 返回:
- String
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Successfully delete edge - 400 Invalid input edge - 404 Edge not exists or Graph not exits - 500 Server internal error -
-
deleteEdgeWithHttpInfo
public ApiResponse<String> deleteEdgeWithHttpInfo(String graphId, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue) throws ApiException
Remove edge from the graph Remove the edge from current graph.- 参数:
graphId- (required)srcLabel- The label name of src vertex. (required)srcPrimaryKeyValue- The primary key value of src vertex. (required)dstLabel- The label name of dst vertex. (required)dstPrimaryKeyValue- The primary key value of dst vertex. (required)- 返回:
- ApiResponse<String>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Successfully delete edge - 400 Invalid input edge - 404 Edge not exists or Graph not exits - 500 Server internal error -
-
deleteEdgeAsync
public okhttp3.Call deleteEdgeAsync(String graphId, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue, ApiCallback<String> _callback) throws ApiException
Remove edge from the graph (asynchronously) Remove the edge from current graph.- 参数:
graphId- (required)srcLabel- The label name of src vertex. (required)srcPrimaryKeyValue- The primary key value of src vertex. (required)dstLabel- The label name of dst vertex. (required)dstPrimaryKeyValue- The primary key value of dst vertex. (required)_callback- The callback to be executed when the API call finishes- 返回:
- The request call
- 抛出:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Successfully delete edge - 400 Invalid input edge - 404 Edge not exists or Graph not exits - 500 Server internal error -
-
getEdgeCall
public okhttp3.Call getEdgeCall(String graphId, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue, ApiCallback _callback) throws ApiException
Build call for getEdge- 参数:
graphId- (required)edgeLabel- The label name of querying edge. (required)srcLabel- The label name of src vertex. (required)srcPrimaryKeyValue- The primary key value of src vertex. (required)dstLabel- The label name of dst vertex. (required)dstPrimaryKeyValue- The value of dst vertex's primary key (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Found Edge - 400 Bad input parameter - 404 Edge not found or Graph not found - 500 Server internal error -
-
getEdge
public EdgeData getEdge(String graphId, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue) throws ApiException
Get the edge's properties with src and dst vertex primary keys. Get the properties for the specified vertex.- 参数:
graphId- (required)edgeLabel- The label name of querying edge. (required)srcLabel- The label name of src vertex. (required)srcPrimaryKeyValue- The primary key value of src vertex. (required)dstLabel- The label name of dst vertex. (required)dstPrimaryKeyValue- The value of dst vertex's primary key (required)- 返回:
- EdgeData
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Found Edge - 400 Bad input parameter - 404 Edge not found or Graph not found - 500 Server internal error -
-
getEdgeWithHttpInfo
public ApiResponse<EdgeData> getEdgeWithHttpInfo(String graphId, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue) throws ApiException
Get the edge's properties with src and dst vertex primary keys. Get the properties for the specified vertex.- 参数:
graphId- (required)edgeLabel- The label name of querying edge. (required)srcLabel- The label name of src vertex. (required)srcPrimaryKeyValue- The primary key value of src vertex. (required)dstLabel- The label name of dst vertex. (required)dstPrimaryKeyValue- The value of dst vertex's primary key (required)- 返回:
- ApiResponse<EdgeData>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Found Edge - 400 Bad input parameter - 404 Edge not found or Graph not found - 500 Server internal error -
-
getEdgeAsync
public okhttp3.Call getEdgeAsync(String graphId, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue, ApiCallback<EdgeData> _callback) throws ApiException
Get the edge's properties with src and dst vertex primary keys. (asynchronously) Get the properties for the specified vertex.- 参数:
graphId- (required)edgeLabel- The label name of querying edge. (required)srcLabel- The label name of src vertex. (required)srcPrimaryKeyValue- The primary key value of src vertex. (required)dstLabel- The label name of dst vertex. (required)dstPrimaryKeyValue- The value of dst vertex's primary key (required)_callback- The callback to be executed when the API call finishes- 返回:
- The request call
- 抛出:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Found Edge - 400 Bad input parameter - 404 Edge not found or Graph not found - 500 Server internal error -
-
updateEdgeCall
public okhttp3.Call updateEdgeCall(String graphId, EdgeRequest edgeRequest, ApiCallback _callback) throws ApiException
Build call for updateEdge- 参数:
graphId- (required)edgeRequest- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Successfully update edge - 400 Invalid input paramters - 404 Edge not exists - 500 Server internal error -
-
updateEdge
public String updateEdge(String graphId, EdgeRequest edgeRequest) throws ApiException
Update edge's property Update the edge on the running graph.- 参数:
graphId- (required)edgeRequest- (optional)- 返回:
- String
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Successfully update edge - 400 Invalid input paramters - 404 Edge not exists - 500 Server internal error -
-
updateEdgeWithHttpInfo
public ApiResponse<String> updateEdgeWithHttpInfo(String graphId, EdgeRequest edgeRequest) throws ApiException
Update edge's property Update the edge on the running graph.- 参数:
graphId- (required)edgeRequest- (optional)- 返回:
- ApiResponse<String>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Successfully update edge - 400 Invalid input paramters - 404 Edge not exists - 500 Server internal error -
-
updateEdgeAsync
public okhttp3.Call updateEdgeAsync(String graphId, EdgeRequest edgeRequest, ApiCallback<String> _callback) throws ApiException
Update edge's property (asynchronously) Update the edge on the running graph.- 参数:
graphId- (required)edgeRequest- (optional)_callback- The callback to be executed when the API call finishes- 返回:
- The request call
- 抛出:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Successfully update edge - 400 Invalid input paramters - 404 Edge not exists - 500 Server internal error -
-
-