Package io.lakefs.clients.api
Class MetadataApi
- java.lang.Object
-
- io.lakefs.clients.api.MetadataApi
-
public class MetadataApi extends Object
-
-
Constructor Summary
Constructors Constructor Description MetadataApi()MetadataApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()StorageURIgetMetaRange(String repository, String metaRange)return URI to a meta-range fileokhttp3.CallgetMetaRangeAsync(String repository, String metaRange, ApiCallback<StorageURI> _callback)return URI to a meta-range file (asynchronously)okhttp3.CallgetMetaRangeCall(String repository, String metaRange, ApiCallback _callback)Build call for getMetaRangeApiResponse<StorageURI>getMetaRangeWithHttpInfo(String repository, String metaRange)return URI to a meta-range fileStorageURIgetRange(String repository, String range)return URI to a range fileokhttp3.CallgetRangeAsync(String repository, String range, ApiCallback<StorageURI> _callback)return URI to a range file (asynchronously)okhttp3.CallgetRangeCall(String repository, String range, ApiCallback _callback)Build call for getRangeApiResponse<StorageURI>getRangeWithHttpInfo(String repository, String range)return URI to a range filevoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
MetadataApi
public MetadataApi()
-
MetadataApi
public MetadataApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getMetaRangeCall
public okhttp3.Call getMetaRangeCall(String repository, String metaRange, ApiCallback _callback) throws ApiException
Build call for getMetaRange- Parameters:
repository- (required)metaRange- (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 200 meta-range URI * Location - redirect to S3
401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
getMetaRange
public StorageURI getMetaRange(String repository, String metaRange) throws ApiException
return URI to a meta-range file- Parameters:
repository- (required)metaRange- (required)- Returns:
- StorageURI
- 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 200 meta-range URI * Location - redirect to S3
401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
getMetaRangeWithHttpInfo
public ApiResponse<StorageURI> getMetaRangeWithHttpInfo(String repository, String metaRange) throws ApiException
return URI to a meta-range file- Parameters:
repository- (required)metaRange- (required)- Returns:
- ApiResponse<StorageURI>
- 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 200 meta-range URI * Location - redirect to S3
401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
getMetaRangeAsync
public okhttp3.Call getMetaRangeAsync(String repository, String metaRange, ApiCallback<StorageURI> _callback) throws ApiException
return URI to a meta-range file (asynchronously)- Parameters:
repository- (required)metaRange- (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 200 meta-range URI * Location - redirect to S3
401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
getRangeCall
public okhttp3.Call getRangeCall(String repository, String range, ApiCallback _callback) throws ApiException
Build call for getRange- Parameters:
repository- (required)range- (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 200 range URI * Location - redirect to S3
401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
getRange
public StorageURI getRange(String repository, String range) throws ApiException
return URI to a range file- Parameters:
repository- (required)range- (required)- Returns:
- StorageURI
- 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 200 range URI * Location - redirect to S3
401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
getRangeWithHttpInfo
public ApiResponse<StorageURI> getRangeWithHttpInfo(String repository, String range) throws ApiException
return URI to a range file- Parameters:
repository- (required)range- (required)- Returns:
- ApiResponse<StorageURI>
- 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 200 range URI * Location - redirect to S3
401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
getRangeAsync
public okhttp3.Call getRangeAsync(String repository, String range, ApiCallback<StorageURI> _callback) throws ApiException
return URI to a range file (asynchronously)- Parameters:
repository- (required)range- (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 200 range URI * Location - redirect to S3
401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
-