MCPcopy Create free account
hub / github.com/apache/pig / openLFSFile

Method openLFSFile

src/org/apache/pig/impl/io/FileLocalizer.java:286–292  ·  view source on GitHub ↗
(ElementDescriptor elem)

Source from the content-addressed store, hash-verified

284 }
285
286 private static InputStream openLFSFile(ElementDescriptor elem) throws IOException{
287 // IMPORTANT NOTE: Currently we use HXXX classes to represent
288 // files and dirs in local mode - so we can just delegate this
289 // call to openDFSFile(elem). When we have true local mode files
290 // and dirs THIS WILL NEED TO CHANGE
291 return openDFSFile(elem);
292 }
293
294 /**
295 * This function returns an input stream to a local file system file or

Callers 1

openMethod · 0.95

Calls 1

openDFSFileMethod · 0.95

Tested by

no test coverage detected