public class ListReader extends Object
Constructor and Description |
---|
ListReader() |
Modifier and Type | Method and Description |
---|---|
static ListObject |
readListFromHDFS(String fname,
String fmtStr,
FileFormatProperties props)
Reads a list object and all contained objects from a folder with related meta data.
|
public static ListObject readListFromHDFS(String fname, String fmtStr, FileFormatProperties props) throws DMLRuntimeException
fname
- directory namefmtStr
- format stringprops
- file format propertiesDMLRuntimeException
- if inconsistent meta data or read failsCopyright © 2021 The Apache Software Foundation. All rights reserved.