public class IoUtils extends Object
| Constructor and Description |
|---|
IoUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getMetaFileLocation(String externalTableLocation)
If data has been output by ODPS through external table, this returns the expected location of the
meta file generated by ODPS, see
parseOutputSubDirectoriesFromMeta(String) for getting the
list of valid subdirectories output from meta file. |
static String |
getSystemOutputDirectory(String externalTableLocation)
Get the system directory ODPS used when outputting unstructured data
|
static String[] |
parseOutputSubDirectoriesFromMeta(String metaContent)
Get valid directories for unstructured data output by ODPS.
|
public static String getMetaFileLocation(String externalTableLocation)
parseOutputSubDirectoriesFromMeta(String) for getting the
list of valid subdirectories output from meta file.externalTableLocation - the location specified when creating external tablepublic static String getSystemOutputDirectory(String externalTableLocation)
externalTableLocation - the location specified when creating external tablepublic static String[] parseOutputSubDirectoriesFromMeta(String metaContent)
metaContent - file content read from ODPS meta fileCopyright © 2021 Alibaba Cloud Computing. All rights reserved.