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

Method resolve

src/org/apache/pig/parser/RegisterResolver.java:69–82  ·  view source on GitHub ↗

@param uri @return List of URIs @throws IOException

(URI uri)

Source from the content-addressed store, hash-verified

67 * @throws IOException
68 */
69 public URI[] resolve(URI uri) throws IOException {
70 String scheme = uri.getScheme();
71 if (scheme != null) {
72 scheme = scheme.toLowerCase();
73 if (scheme.equals("ivy")) {
74 DownloadResolver downloadResolver = DownloadResolver.getInstance();
75 return downloadResolver.downloadArtifact(uri, pigServer);
76 }
77 if (!hasFileSystemImpl(uri)) {
78 throw new ParserException("Invalid Scheme: " + uri.getScheme());
79 }
80 }
81 return new URI[] { uri };
82 }
83
84 /**
85 * @param uri

Calls 4

getInstanceMethod · 0.95
downloadArtifactMethod · 0.95
hasFileSystemImplMethod · 0.95
equalsMethod · 0.45