public class BlobSourceInfo extends Object
| Constructor and Description |
|---|
BlobSourceInfo(String blobPath) |
BlobSourceInfo(String blobPath,
CompressionType compressionType) |
BlobSourceInfo(String blobPath,
CompressionType compressionType,
UUID sourceId) |
| Modifier and Type | Method and Description |
|---|---|
static BlobSourceInfo |
fromFile(String blobPath,
FileSourceInfo fileSourceInfo,
CompressionType sourceCompressionType,
boolean gotCompressed) |
static BlobSourceInfo |
fromStream(String blobPath,
Integer size,
StreamSourceInfo streamSourceInfo) |
Long |
getBlobExactSize() |
String |
getBlobPath() |
CompressionType |
getCompressionType() |
UUID |
getSourceId() |
Map<String,String> |
getTracingAttributes() |
void |
setBlobPath(String blobPath) |
void |
setCompressionType(CompressionType compressionType) |
void |
setSourceId(UUID sourceId) |
void |
validate()
Checks that this SourceInfo is defined appropriately.
|
public BlobSourceInfo(String blobPath)
public BlobSourceInfo(String blobPath, CompressionType compressionType)
public BlobSourceInfo(String blobPath, CompressionType compressionType, UUID sourceId)
public String getBlobPath()
public void setBlobPath(String blobPath)
public Long getBlobExactSize()
public CompressionType getCompressionType()
public void setCompressionType(CompressionType compressionType)
public void validate()
SourceInfopublic Map<String,String> getTracingAttributes()
getTracingAttributes in interface TraceableAttributespublic static BlobSourceInfo fromFile(String blobPath, FileSourceInfo fileSourceInfo, CompressionType sourceCompressionType, boolean gotCompressed)
public static BlobSourceInfo fromStream(String blobPath, Integer size, StreamSourceInfo streamSourceInfo)
public UUID getSourceId()
getSourceId in interface SourceInfopublic void setSourceId(UUID sourceId)
setSourceId in interface SourceInfoCopyright © 2025. All rights reserved.