public interface WithErasureCoding
| Modifier and Type | Method and Description |
|---|---|
String |
getErasureCodingPolicyName(FileStatus fileStatus)
Get the EC Policy name of the given file's fileStatus.
|
void |
setErasureCodingPolicy(Path path,
String ecPolicyName)
Set the given ecPolicy on the path.
|
String getErasureCodingPolicyName(FileStatus fileStatus)
fileStatus - object of the file whose ecPolicy needs to be obtained.void setErasureCodingPolicy(Path path, String ecPolicyName) throws IOException
path - on which the EC policy needs to be set.ecPolicyName - the EC policy.IOException - if there is an error during the set op.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.