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 StorageURIcreateSymlinkFile(String repository, String branch, String location)creates symlink files corresponding to the given directoryokhttp3.CallcreateSymlinkFileAsync(String repository, String branch, String location, ApiCallback<StorageURI> _callback)creates symlink files corresponding to the given directory (asynchronously)okhttp3.CallcreateSymlinkFileCall(String repository, String branch, String location, ApiCallback _callback)Build call for createSymlinkFileApiResponse<StorageURI>createSymlinkFileWithHttpInfo(String repository, String branch, String location)creates symlink files corresponding to the given directoryApiClientgetApiClient()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)
-
createSymlinkFileCall
public okhttp3.Call createSymlinkFileCall(String repository, String branch, String location, ApiCallback _callback) throws ApiException
Build call for createSymlinkFile- Parameters:
repository- (required)branch- (required)location- path to the table data (optional)_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 location created - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
createSymlinkFile
public StorageURI createSymlinkFile(String repository, String branch, String location) throws ApiException
creates symlink files corresponding to the given directory- Parameters:
repository- (required)branch- (required)location- path to the table data (optional)- 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 201 location created - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
createSymlinkFileWithHttpInfo
public ApiResponse<StorageURI> createSymlinkFileWithHttpInfo(String repository, String branch, String location) throws ApiException
creates symlink files corresponding to the given directory- Parameters:
repository- (required)branch- (required)location- path to the table data (optional)- 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 201 location created - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
createSymlinkFileAsync
public okhttp3.Call createSymlinkFileAsync(String repository, String branch, String location, ApiCallback<StorageURI> _callback) throws ApiException
creates symlink files corresponding to the given directory (asynchronously)- Parameters:
repository- (required)branch- (required)location- path to the table data (optional)_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 location created - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 0 Internal Server Error -
-
-