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

Method isFile

src/org/apache/pig/impl/io/FileLocalizer.java:621–624  ·  view source on GitHub ↗
(String filename, PigContext context)

Source from the content-addressed store, hash-verified

619 }
620
621 public static boolean isFile(String filename, PigContext context)
622 throws IOException {
623 return !isDirectory(filename, context.getDfs());
624 }
625
626 /**
627 * @deprecated Use {@link #isFile(String, PigContext)} instead

Callers 9

verifyResultsMethod · 0.80
verifyResultsMethod · 0.80
getExpectedMethod · 0.80
getPartitionKeysMethod · 0.80
verifyResultsMethod · 0.80
getExpectedMethod · 0.80
getPathSizeMethod · 0.80
isContainerMethod · 0.80

Calls 2

isDirectoryMethod · 0.95
getDfsMethod · 0.80

Tested by 5

verifyResultsMethod · 0.64
verifyResultsMethod · 0.64
getExpectedMethod · 0.64
verifyResultsMethod · 0.64
getExpectedMethod · 0.64