MCPcopy Create free account
hub / github.com/apache/calcite / of

Method of

core/src/main/java/org/apache/calcite/util/Sources.java:47–49  ·  view source on GitHub ↗
(File file)

Source from the content-addressed store, hash-verified

45 private Sources() {}
46
47 public static Source of(File file) {
48 return new FileSource(file);
49 }
50
51 public static Source of(URL url) {
52 return new FileSource(url);

Callers 15

hasGitMethod · 0.95
resourcePathMethod · 0.95
createTableMapMethod · 0.95
createMethod · 0.95
InnodbAdapterTestClass · 0.95
initializeArrowStateMethod · 0.95
initializeArrowStateMethod · 0.95
deduceTableMapMethod · 0.95
PigAdapterTestClass · 0.95

Calls 2

fromCharSourceMethod · 0.95
wrapMethod · 0.45

Tested by 15

hasGitMethod · 0.76
resourcePathMethod · 0.76
initializeArrowStateMethod · 0.76
initializeArrowStateMethod · 0.76
testProgramWorksMethod · 0.76
checkSortSpecMethod · 0.76
testSeveralSourcesMethod · 0.76
withDefaultInputMethod · 0.76
testRelativeFileToUrlMethod · 0.76