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

Method get

src/org/apache/pig/builtin/mock/Storage.java:361–366  ·  view source on GitHub ↗

@param location @return the data in this location

(String location)

Source from the content-addressed store, hash-verified

359 * @return the data in this location
360 */
361 public List<Tuple> get(String location) {
362 if (!locationToData.containsKey(location)) {
363 throw new RuntimeException("No data for location '" + location + "'");
364 }
365 return locationToData.get(location).getAll();
366 }
367
368 /**
369 *

Callers 15

testReadBytesWritableMethod · 0.95
testMultipleLoadStoreMethod · 0.95
testLoadStoreFuncMethod · 0.95
testJoinTypeMethod · 0.95
testWithFilterMethod · 0.95
testWithBincondMethod · 0.95

Calls 3

getAllMethod · 0.65
getMethod · 0.65
containsKeyMethod · 0.45

Tested by 15

testReadBytesWritableMethod · 0.76
testMultipleLoadStoreMethod · 0.76
testLoadStoreFuncMethod · 0.76
testJoinTypeMethod · 0.76
testWithFilterMethod · 0.76
testWithBincondMethod · 0.76