类 AdminServiceGraphManagementApi
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.api.AdminServiceGraphManagementApi
-
public class AdminServiceGraphManagementApi extends Object
-
-
构造器概要
构造器 构造器 说明 AdminServiceGraphManagementApi()AdminServiceGraphManagementApi(ApiClient apiClient)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JobResponsecreateDataloadingJob(String graphId, SchemaMapping schemaMapping)Create a dataloading jobokhttp3.CallcreateDataloadingJobAsync(String graphId, SchemaMapping schemaMapping, ApiCallback<JobResponse> _callback)(asynchronously) Create a dataloading jobokhttp3.CallcreateDataloadingJobCall(String graphId, SchemaMapping schemaMapping, ApiCallback _callback)Build call for createDataloadingJobApiResponse<JobResponse>createDataloadingJobWithHttpInfo(String graphId, SchemaMapping schemaMapping)Create a dataloading jobCreateGraphResponsecreateGraph(CreateGraphRequest createGraphRequest)Create a new graphokhttp3.CallcreateGraphAsync(CreateGraphRequest createGraphRequest, ApiCallback<CreateGraphResponse> _callback)(asynchronously) Create a new graphokhttp3.CallcreateGraphCall(CreateGraphRequest createGraphRequest, ApiCallback _callback)Build call for createGraphApiResponse<CreateGraphResponse>createGraphWithHttpInfo(CreateGraphRequest createGraphRequest)Create a new graphStringdeleteGraph(String graphId)Delete a graph by nameokhttp3.CalldeleteGraphAsync(String graphId, ApiCallback<String> _callback)(asynchronously) Delete a graph by nameokhttp3.CalldeleteGraphCall(String graphId, ApiCallback _callback)Build call for deleteGraphApiResponse<String>deleteGraphWithHttpInfo(String graphId)Delete a graph by nameApiClientgetApiClient()StringgetCustomBaseUrl()GetGraphResponsegetGraph(String graphId)Get a graph by nameokhttp3.CallgetGraphAsync(String graphId, ApiCallback<GetGraphResponse> _callback)(asynchronously) Get a graph by nameokhttp3.CallgetGraphCall(String graphId, ApiCallback _callback)Build call for getGraphApiResponse<GetGraphResponse>getGraphWithHttpInfo(String graphId)Get a graph by nameintgetHostIndex()GetGraphSchemaResponsegetSchema(String graphId)Get schema by graph nameokhttp3.CallgetSchemaAsync(String graphId, ApiCallback<GetGraphSchemaResponse> _callback)(asynchronously) Get schema by graph nameokhttp3.CallgetSchemaCall(String graphId, ApiCallback _callback)Build call for getSchemaApiResponse<GetGraphSchemaResponse>getSchemaWithHttpInfo(String graphId)Get schema by graph nameList<GetGraphResponse>listGraphs()List all graphsokhttp3.CalllistGraphsAsync(ApiCallback<List<GetGraphResponse>> _callback)(asynchronously) List all graphsokhttp3.CalllistGraphsCall(ApiCallback _callback)Build call for listGraphsApiResponse<List<GetGraphResponse>>listGraphsWithHttpInfo()List all graphsvoidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
构造器详细资料
-
AdminServiceGraphManagementApi
public AdminServiceGraphManagementApi()
-
AdminServiceGraphManagementApi
public AdminServiceGraphManagementApi(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)
-
createDataloadingJobCall
public okhttp3.Call createDataloadingJobCall(String graphId, SchemaMapping schemaMapping, ApiCallback _callback) throws ApiException
Build call for createDataloadingJob- 参数:
graphId- The name of graph to do bulk loading. (required)schemaMapping- (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 successful operation -
-
createDataloadingJob
public JobResponse createDataloadingJob(String graphId, SchemaMapping schemaMapping) throws ApiException
Create a dataloading job- 参数:
graphId- The name of graph to do bulk loading. (required)schemaMapping- (required)- 返回:
- JobResponse
- 抛出:
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 successful operation -
-
createDataloadingJobWithHttpInfo
public ApiResponse<JobResponse> createDataloadingJobWithHttpInfo(String graphId, SchemaMapping schemaMapping) throws ApiException
Create a dataloading job- 参数:
graphId- The name of graph to do bulk loading. (required)schemaMapping- (required)- 返回:
- ApiResponse<JobResponse>
- 抛出:
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 successful operation -
-
createDataloadingJobAsync
public okhttp3.Call createDataloadingJobAsync(String graphId, SchemaMapping schemaMapping, ApiCallback<JobResponse> _callback) throws ApiException
(asynchronously) Create a dataloading job- 参数:
graphId- The name of graph to do bulk loading. (required)schemaMapping- (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 successful operation -
-
createGraphCall
public okhttp3.Call createGraphCall(CreateGraphRequest createGraphRequest, ApiCallback _callback) throws ApiException
Build call for createGraph- 参数:
createGraphRequest- (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 successful operation - 400 BadRequest - 500 Internal error -
-
createGraph
public CreateGraphResponse createGraph(CreateGraphRequest createGraphRequest) throws ApiException
Create a new graph- 参数:
createGraphRequest- (required)- 返回:
- CreateGraphResponse
- 抛出:
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 successful operation - 400 BadRequest - 500 Internal error -
-
createGraphWithHttpInfo
public ApiResponse<CreateGraphResponse> createGraphWithHttpInfo(CreateGraphRequest createGraphRequest) throws ApiException
Create a new graph- 参数:
createGraphRequest- (required)- 返回:
- ApiResponse<CreateGraphResponse>
- 抛出:
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 successful operation - 400 BadRequest - 500 Internal error -
-
createGraphAsync
public okhttp3.Call createGraphAsync(CreateGraphRequest createGraphRequest, ApiCallback<CreateGraphResponse> _callback) throws ApiException
(asynchronously) Create a new graph- 参数:
createGraphRequest- (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 successful operation - 400 BadRequest - 500 Internal error -
-
deleteGraphCall
public okhttp3.Call deleteGraphCall(String graphId, ApiCallback _callback) throws ApiException
Build call for deleteGraph- 参数:
graphId- The name of graph to delete (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 Successful operation - 404 Not Found - 500 Internal Error -
-
deleteGraph
public String deleteGraph(String graphId) throws ApiException
Delete a graph by name- 参数:
graphId- The name of graph to delete (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 Successful operation - 404 Not Found - 500 Internal Error -
-
deleteGraphWithHttpInfo
public ApiResponse<String> deleteGraphWithHttpInfo(String graphId) throws ApiException
Delete a graph by name- 参数:
graphId- The name of graph to delete (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 Successful operation - 404 Not Found - 500 Internal Error -
-
deleteGraphAsync
public okhttp3.Call deleteGraphAsync(String graphId, ApiCallback<String> _callback) throws ApiException
(asynchronously) Delete a graph by name- 参数:
graphId- The name of graph to delete (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 Successful operation - 404 Not Found - 500 Internal Error -
-
getGraphCall
public okhttp3.Call getGraphCall(String graphId, ApiCallback _callback) throws ApiException
Build call for getGraph- 参数:
graphId- The name of graph to get (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 Successful operation - 404 Not found -
-
getGraph
public GetGraphResponse getGraph(String graphId) throws ApiException
Get a graph by name- 参数:
graphId- The name of graph to get (required)- 返回:
- GetGraphResponse
- 抛出:
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 Successful operation - 404 Not found -
-
getGraphWithHttpInfo
public ApiResponse<GetGraphResponse> getGraphWithHttpInfo(String graphId) throws ApiException
Get a graph by name- 参数:
graphId- The name of graph to get (required)- 返回:
- ApiResponse<GetGraphResponse>
- 抛出:
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 Successful operation - 404 Not found -
-
getGraphAsync
public okhttp3.Call getGraphAsync(String graphId, ApiCallback<GetGraphResponse> _callback) throws ApiException
(asynchronously) Get a graph by name- 参数:
graphId- The name of graph to get (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 Successful operation - 404 Not found -
-
getSchemaCall
public okhttp3.Call getSchemaCall(String graphId, ApiCallback _callback) throws ApiException
Build call for getSchema- 参数:
graphId- The name of graph to delete (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 successful operation -
-
getSchema
public GetGraphSchemaResponse getSchema(String graphId) throws ApiException
Get schema by graph name- 参数:
graphId- The name of graph to delete (required)- 返回:
- GetGraphSchemaResponse
- 抛出:
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 successful operation -
-
getSchemaWithHttpInfo
public ApiResponse<GetGraphSchemaResponse> getSchemaWithHttpInfo(String graphId) throws ApiException
Get schema by graph name- 参数:
graphId- The name of graph to delete (required)- 返回:
- ApiResponse<GetGraphSchemaResponse>
- 抛出:
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 successful operation -
-
getSchemaAsync
public okhttp3.Call getSchemaAsync(String graphId, ApiCallback<GetGraphSchemaResponse> _callback) throws ApiException
(asynchronously) Get schema by graph name- 参数:
graphId- The name of graph to delete (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 successful operation -
-
listGraphsCall
public okhttp3.Call listGraphsCall(ApiCallback _callback) throws ApiException
Build call for listGraphs- 参数:
_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 Successful operation -
-
listGraphs
public List<GetGraphResponse> listGraphs() throws ApiException
List all graphs- 返回:
- List<GetGraphResponse>
- 抛出:
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 Successful operation -
-
listGraphsWithHttpInfo
public ApiResponse<List<GetGraphResponse>> listGraphsWithHttpInfo() throws ApiException
List all graphs- 返回:
- ApiResponse<List<GetGraphResponse>>
- 抛出:
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 Successful operation -
-
listGraphsAsync
public okhttp3.Call listGraphsAsync(ApiCallback<List<GetGraphResponse>> _callback) throws ApiException
(asynchronously) List all graphs- 参数:
_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 Successful operation -
-
-