public interface HdfsClient
| Modifier and Type | Method and Description |
|---|---|
void |
addPathAttr(String path,
String name,
byte[] value) |
void |
createDir(String path) |
void |
createEmptyFile(String path) |
void |
createEncryptedDir(String path) |
void |
deleteById(String path) |
List<byte[]> |
getDirectSubPathsAttrs(String path,
String attrName) |
Optional<byte[]> |
getPathAttr(String path,
String name) |
String |
getRootDir()
Root directory without "/" at the end.
|
String getRootDir()
void createDir(String path) throws IOException
IOExceptionvoid createEncryptedDir(String path) throws IOException
IOExceptionvoid createEmptyFile(String path) throws IOException
IOExceptionOptional<byte[]> getPathAttr(String path, String name) throws IOException
IOExceptionvoid addPathAttr(String path, String name, byte[] value) throws IOException
IOExceptionList<byte[]> getDirectSubPathsAttrs(String path, String attrName) throws IOException
IOExceptionvoid deleteById(String path) throws IOException
IOExceptionCopyright © 2016. All rights reserved.