public class OrcFileMerger extends Object
| Constructor and Description |
|---|
OrcFileMerger(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCompatibility(List<Reader> readers)
Check compatibility between readers.
|
void |
mergeFiles(List<Reader> readers,
org.apache.hadoop.fs.Path outPath)
Merge orc files into a single file
|
public void mergeFiles(List<Reader> readers, org.apache.hadoop.fs.Path outPath) throws IOException
readers - list of orc file paths to be mergedoutPath - the path of output orc fileIOException - error happened during file operationsCopyright © 2024 The Apache Software Foundation. All rights reserved.