类 AdminServiceGraphManagementApi


  • public class AdminServiceGraphManagementApi
    extends Object
    • 构造器详细资料

      • 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 -