public class FileSourceInfo extends Object
| Constructor and Description |
|---|
FileSourceInfo(String filePath,
long rawSizeInBytes) |
FileSourceInfo(String filePath,
long rawSizeInBytes,
UUID sourceId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFilePath() |
long |
getRawSizeInBytes() |
UUID |
getSourceId() |
Map<String,String> |
getTracingAttributes() |
void |
setFilePath(String filePath) |
void |
setRawSizeInBytes(long rawSizeInBytes) |
void |
setSourceId(UUID sourceId) |
void |
validate()
Checks that this SourceInfo is defined appropriately.
|
public FileSourceInfo(String filePath, long rawSizeInBytes)
public String getFilePath()
public void setFilePath(String filePath)
public long getRawSizeInBytes()
public void setRawSizeInBytes(long rawSizeInBytes)
public void validate()
SourceInfopublic Map<String,String> getTracingAttributes()
getTracingAttributes in interface TraceableAttributespublic UUID getSourceId()
getSourceId in interface SourceInfopublic void setSourceId(UUID sourceId)
setSourceId in interface SourceInfoCopyright © 2024. All rights reserved.