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

Method create

src/org/apache/pig/impl/io/FileLocalizer.java:395–397  ·  view source on GitHub ↗
(String fileSpec, PigContext pigContext)

Source from the content-addressed store, hash-verified

393 }
394
395 static public OutputStream create(String fileSpec, PigContext pigContext) throws IOException{
396 return create(fileSpec,false,pigContext);
397 }
398
399 static public OutputStream create(String fileSpec, boolean append, PigContext pigContext) throws IOException {
400 fileSpec = checkDefaultPrefix(pigContext.getExecType(), fileSpec);

Callers 1

Calls 8

checkDefaultPrefixMethod · 0.95
createMethod · 0.95
getDfsMethod · 0.80
lengthMethod · 0.80
mkdirsMethod · 0.80
asElementMethod · 0.65
warnMethod · 0.65
getExecTypeMethod · 0.45

Tested by 1