Class DataLakeFileClientWrapper
java.lang.Object
org.apache.camel.component.azure.storage.datalake.client.DataLakeFileClientWrapper
-
Constructor Summary
ConstructorDescriptionDataLakeFileClientWrapper
(com.azure.storage.file.datalake.DataLakeFileClient client) -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.Response
<Void> appendWithResponse
(InputStream stream, Long fileOffset, Long length, Duration timeout, com.azure.storage.file.datalake.options.DataLakeFileAppendOptions options) com.azure.core.http.rest.Response
<com.azure.storage.file.datalake.models.PathInfo> createWithResponse
(String permissions, String umask, com.azure.storage.file.datalake.models.PathHttpHeaders headers, Map<String, String> metadata, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, Duration timeout) com.azure.core.http.rest.Response
<Void> delete
(com.azure.storage.file.datalake.models.DataLakeRequestConditions accessConditions, Duration timeout) com.azure.core.http.rest.Response
<com.azure.storage.file.datalake.models.PathProperties> downloadToFileWithResponse
(String filePath, com.azure.storage.file.datalake.models.FileRange fileRange, com.azure.storage.common.ParallelTransferOptions parallelTransferOptions, com.azure.storage.file.datalake.models.DownloadRetryOptions downloadRetryOptions, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, boolean rangeGetContentMd5, Set<OpenOption> openOptions, Duration timeout) com.azure.storage.file.datalake.models.FileReadResponse
downloadWithResponse
(OutputStream outputStream, com.azure.storage.file.datalake.models.FileRange fileRange, com.azure.storage.file.datalake.models.DownloadRetryOptions downloadRetryOptions, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, boolean rangeGetContentMd5, Duration timeout) com.azure.core.http.rest.Response
<com.azure.storage.file.datalake.models.PathInfo> flushWithResponse
(long position, Boolean retainUncommitedData, Boolean close, com.azure.storage.file.datalake.models.PathHttpHeaders headers, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, Duration timeout) generateSas
(com.azure.storage.file.datalake.sas.DataLakeServiceSasSignatureValues dataLakeServiceSasSignatureValues) com.azure.core.http.rest.Response
<InputStream> openQueryInputStreamWithResponse
(com.azure.storage.file.datalake.options.FileQueryOptions queryOptions) com.azure.core.http.rest.Response
<com.azure.storage.file.datalake.DataLakeFileClient> renameWithResponse
(String destFileSystem, String destPath, com.azure.storage.file.datalake.models.DataLakeRequestConditions sourceAccessConditions, com.azure.storage.file.datalake.models.DataLakeRequestConditions destAccessConditions, Duration timeout) void
uploadFromFile
(String filePath, com.azure.storage.common.ParallelTransferOptions parallelTransferOptions, com.azure.storage.file.datalake.models.PathHttpHeaders headers, Map<String, String> metadata, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, Duration timeout) com.azure.core.http.rest.Response
<com.azure.storage.file.datalake.models.PathInfo> uploadWithResponse
(com.azure.storage.file.datalake.options.FileParallelUploadOptions uploadOptions, Duration timeout)
-
Constructor Details
-
DataLakeFileClientWrapper
public DataLakeFileClientWrapper(com.azure.storage.file.datalake.DataLakeFileClient client)
-
-
Method Details
-
getFileName
-
getFileUrl
-
getFileSize
-
delete
-
openInputStream
-
openQueryInputStreamWithResponse
public com.azure.core.http.rest.Response<InputStream> openQueryInputStreamWithResponse(com.azure.storage.file.datalake.options.FileQueryOptions queryOptions) -
downloadWithResponse
public com.azure.storage.file.datalake.models.FileReadResponse downloadWithResponse(OutputStream outputStream, com.azure.storage.file.datalake.models.FileRange fileRange, com.azure.storage.file.datalake.models.DownloadRetryOptions downloadRetryOptions, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, boolean rangeGetContentMd5, Duration timeout) -
downloadToFileWithResponse
public com.azure.core.http.rest.Response<com.azure.storage.file.datalake.models.PathProperties> downloadToFileWithResponse(String filePath, com.azure.storage.file.datalake.models.FileRange fileRange, com.azure.storage.common.ParallelTransferOptions parallelTransferOptions, com.azure.storage.file.datalake.models.DownloadRetryOptions downloadRetryOptions, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, boolean rangeGetContentMd5, Set<OpenOption> openOptions, Duration timeout) -
createWithResponse
public com.azure.core.http.rest.Response<com.azure.storage.file.datalake.models.PathInfo> createWithResponse(String permissions, String umask, com.azure.storage.file.datalake.models.PathHttpHeaders headers, Map<String, String> metadata, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, Duration timeout) -
flushWithResponse
public com.azure.core.http.rest.Response<com.azure.storage.file.datalake.models.PathInfo> flushWithResponse(long position, Boolean retainUncommitedData, Boolean close, com.azure.storage.file.datalake.models.PathHttpHeaders headers, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, Duration timeout) -
appendWithResponse
public com.azure.core.http.rest.Response<Void> appendWithResponse(InputStream stream, Long fileOffset, Long length, Duration timeout, com.azure.storage.file.datalake.options.DataLakeFileAppendOptions options) -
uploadWithResponse
public com.azure.core.http.rest.Response<com.azure.storage.file.datalake.models.PathInfo> uploadWithResponse(com.azure.storage.file.datalake.options.FileParallelUploadOptions uploadOptions, Duration timeout) -
renameWithResponse
public com.azure.core.http.rest.Response<com.azure.storage.file.datalake.DataLakeFileClient> renameWithResponse(String destFileSystem, String destPath, com.azure.storage.file.datalake.models.DataLakeRequestConditions sourceAccessConditions, com.azure.storage.file.datalake.models.DataLakeRequestConditions destAccessConditions, Duration timeout) -
uploadFromFile
public void uploadFromFile(String filePath, com.azure.storage.common.ParallelTransferOptions parallelTransferOptions, com.azure.storage.file.datalake.models.PathHttpHeaders headers, Map<String, String> metadata, com.azure.storage.file.datalake.models.DataLakeRequestConditions requestConditions, Duration timeout) -
generateSas
public String generateSas(com.azure.storage.file.datalake.sas.DataLakeServiceSasSignatureValues dataLakeServiceSasSignatureValues)
-