public class DataLakeFileClientWrapper extends Object
| Constructor and Description |
|---|
DataLakeFileClientWrapper(com.azure.storage.file.datalake.DataLakeFileClient client) |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.http.rest.Response<Void> |
appendWithResponse(InputStream stream,
Long fileOffset,
Long length,
byte[] contentMd5,
String leaseId,
Duration timeout) |
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) |
public DataLakeFileClientWrapper(com.azure.storage.file.datalake.DataLakeFileClient client)
public String getFileName()
public String getFileUrl()
public Long getFileSize()
public com.azure.core.http.rest.Response<Void> delete(com.azure.storage.file.datalake.models.DataLakeRequestConditions accessConditions, Duration timeout)
public InputStream openInputStream()
public com.azure.core.http.rest.Response<InputStream> openQueryInputStreamWithResponse(com.azure.storage.file.datalake.options.FileQueryOptions queryOptions)
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)
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)
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)
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)
public com.azure.core.http.rest.Response<Void> appendWithResponse(InputStream stream, Long fileOffset, Long length, byte[] contentMd5, String leaseId, Duration timeout)
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)
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)
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)
public String generateSas(com.azure.storage.file.datalake.sas.DataLakeServiceSasSignatureValues dataLakeServiceSasSignatureValues)
Apache Camel