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

Method values

src/org/apache/pig/impl/util/MultiMap.java:154–165  ·  view source on GitHub ↗

Get a single collection of all the values in the map. All of the values in the map will be conglomerated into one collection. There will not be any duplicate removal. @return collection of values.

()

Source from the content-addressed store, hash-verified

152 * @return collection of values.
153 */
154 public Collection<V> values() {
155 Set<K> keys = mMap.keySet();
156 int size = 0;
157 for (K k : keys) {
158 size += mMap.get(k).size();
159 }
160 Collection<V> values = new ArrayList<V>(size);
161 for (K k : keys) {
162 values.addAll(mMap.get(k));
163 }
164 return values;
165 }
166
167 @Override
168 public String toString() {

Callers 15

closeMethod · 0.45
PigAvroRecordReaderMethod · 0.45
varargTestMethod · 0.45
firstTestMethod · 0.45
testTCMethod · 0.45
runSimpleScriptMethod · 0.45
pigRunnerTestMethod · 0.45
showPlanOperatorsMethod · 0.45
testFilter1Method · 0.45

Calls 4

sizeMethod · 0.65
getMethod · 0.65
addAllMethod · 0.65
keySetMethod · 0.45

Tested by 15

varargTestMethod · 0.36
firstTestMethod · 0.36
testTCMethod · 0.36
runSimpleScriptMethod · 0.36
pigRunnerTestMethod · 0.36
showPlanOperatorsMethod · 0.36
testFilter1Method · 0.36
testFilter2Method · 0.36
getProbVecSumMethod · 0.36