Class ImportApi


  • public class ImportApi
    extends Object
    • Constructor Detail

      • ImportApi

        public ImportApi()
      • ImportApi

        public ImportApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • createMetaRangeCall

        public okhttp3.Call createMetaRangeCall​(String repository,
                                                MetaRangeCreation metaRangeCreation,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for createMetaRange
        Parameters:
        repository - (required)
        metaRangeCreation - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        201 metarange metadata -
        400 Validation Error -
        401 Unauthorized -
        403 Forbidden -
        404 Resource Not Found -
        0 Internal Server Error -
      • createMetaRange

        public MetaRangeCreationResponse createMetaRange​(String repository,
                                                         MetaRangeCreation metaRangeCreation)
                                                  throws ApiException
        create a lakeFS metarange file from the given ranges
        Parameters:
        repository - (required)
        metaRangeCreation - (required)
        Returns:
        MetaRangeCreationResponse
        Throws:
        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
        201 metarange metadata -
        400 Validation Error -
        401 Unauthorized -
        403 Forbidden -
        404 Resource Not Found -
        0 Internal Server Error -
      • createMetaRangeWithHttpInfo

        public ApiResponse<MetaRangeCreationResponse> createMetaRangeWithHttpInfo​(String repository,
                                                                                  MetaRangeCreation metaRangeCreation)
                                                                           throws ApiException
        create a lakeFS metarange file from the given ranges
        Parameters:
        repository - (required)
        metaRangeCreation - (required)
        Returns:
        ApiResponse<MetaRangeCreationResponse>
        Throws:
        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
        201 metarange metadata -
        400 Validation Error -
        401 Unauthorized -
        403 Forbidden -
        404 Resource Not Found -
        0 Internal Server Error -
      • createMetaRangeAsync

        public okhttp3.Call createMetaRangeAsync​(String repository,
                                                 MetaRangeCreation metaRangeCreation,
                                                 ApiCallback<MetaRangeCreationResponse> _callback)
                                          throws ApiException
        create a lakeFS metarange file from the given ranges (asynchronously)
        Parameters:
        repository - (required)
        metaRangeCreation - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        201 metarange metadata -
        400 Validation Error -
        401 Unauthorized -
        403 Forbidden -
        404 Resource Not Found -
        0 Internal Server Error -
      • ingestRangeCall

        public okhttp3.Call ingestRangeCall​(String repository,
                                            StageRangeCreation stageRangeCreation,
                                            ApiCallback _callback)
                                     throws ApiException
        Build call for ingestRange
        Parameters:
        repository - (required)
        stageRangeCreation - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        201 range metadata -
        400 Validation Error -
        401 Unauthorized -
        404 Resource Not Found -
        0 Internal Server Error -
      • ingestRange

        public IngestRangeCreationResponse ingestRange​(String repository,
                                                       StageRangeCreation stageRangeCreation)
                                                throws ApiException
        create a lakeFS range file from the source uri
        Parameters:
        repository - (required)
        stageRangeCreation - (required)
        Returns:
        IngestRangeCreationResponse
        Throws:
        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
        201 range metadata -
        400 Validation Error -
        401 Unauthorized -
        404 Resource Not Found -
        0 Internal Server Error -
      • ingestRangeWithHttpInfo

        public ApiResponse<IngestRangeCreationResponse> ingestRangeWithHttpInfo​(String repository,
                                                                                StageRangeCreation stageRangeCreation)
                                                                         throws ApiException
        create a lakeFS range file from the source uri
        Parameters:
        repository - (required)
        stageRangeCreation - (required)
        Returns:
        ApiResponse<IngestRangeCreationResponse>
        Throws:
        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
        201 range metadata -
        400 Validation Error -
        401 Unauthorized -
        404 Resource Not Found -
        0 Internal Server Error -
      • ingestRangeAsync

        public okhttp3.Call ingestRangeAsync​(String repository,
                                             StageRangeCreation stageRangeCreation,
                                             ApiCallback<IngestRangeCreationResponse> _callback)
                                      throws ApiException
        create a lakeFS range file from the source uri (asynchronously)
        Parameters:
        repository - (required)
        stageRangeCreation - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        201 range metadata -
        400 Validation Error -
        401 Unauthorized -
        404 Resource Not Found -
        0 Internal Server Error -