MCPcopy Index your code
hub / github.com/apache/orc / addFile

Method addFile

java/tools/src/java/org/apache/orc/tools/ColumnSizes.java:113–118  ·  view source on GitHub ↗
(LocatedFileStatus file)

Source from the content-addressed store, hash-verified

111 }
112
113 public boolean addFile(LocatedFileStatus file) throws IOException {
114 try (Reader reader = OrcFile.createReader(file.getPath(),
115 OrcFile.readerOptions(conf))) {
116 return addReader(file, reader);
117 }
118 }
119
120 private static class StringLongPair {
121 final String name;

Callers 1

mainMethod · 0.95

Calls 4

createReaderMethod · 0.95
readerOptionsMethod · 0.95
addReaderMethod · 0.95
getPathMethod · 0.45

Tested by

no test coverage detected