Class HdfsClientMock
java.lang.Object
eu.dnetlib.data.mdstore.manager.utils.HdfsClientMock
- All Implemented Interfaces:
HdfsClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeletePath(String path) listContent(String hdfsPath) readParquetFiles(String hdfsPath, long limit)
-
Constructor Details
-
HdfsClientMock
public HdfsClientMock()
-
-
Method Details
-
getHadoopUser
- Specified by:
getHadoopUserin interfaceHdfsClient
-
getHadoopCluster
- Specified by:
getHadoopClusterin interfaceHdfsClient
-
getHdfsBasePath
- Specified by:
getHdfsBasePathin interfaceHdfsClient
-
deletePath
- Specified by:
deletePathin interfaceHdfsClient- Throws:
MDStoreManagerException
-
listHadoopDirs
- Specified by:
listHadoopDirsin interfaceHdfsClient
-
listContent
- Specified by:
listContentin interfaceHdfsClient
-
readParquetFiles
public List<Map<String,String>> readParquetFiles(String hdfsPath, long limit) throws MDStoreManagerException - Specified by:
readParquetFilesin interfaceHdfsClient- Throws:
MDStoreManagerException
-