Class DataLakeFileClientWrapper
- java.lang.Object
-
- org.apache.camel.component.azure.storage.datalake.client.DataLakeFileClientWrapper
-
public class DataLakeFileClientWrapper extends Object
-
-
Constructor Summary
Constructors Constructor Description DataLakeFileClientWrapper(com.azure.storage.file.datalake.DataLakeFileClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.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)
String
generateSas(com.azure.storage.file.datalake.sas.DataLakeServiceSasSignatureValues dataLakeServiceSasSignatureValues)
String
getFileName()
Long
getFileSize()
String
getFileUrl()
InputStream
openInputStream()
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)
-
-
-
Method Detail
-
getFileName
public String getFileName()
-
getFileUrl
public String getFileUrl()
-
getFileSize
public Long getFileSize()
-
delete
public com.azure.core.http.rest.Response<Void> delete(com.azure.storage.file.datalake.models.DataLakeRequestConditions accessConditions, Duration timeout)
-
openInputStream
public InputStream 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)
-
-