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

Method right

core/src/main/java/org/apache/calcite/util/Pair.java:354–357  ·  view source on GitHub ↗

Returns an iterable over the right slice of an iterable. @param iterable Iterable over pairs @param right type @param Right type @return Iterable over the right elements

(
      final Iterable<? extends Map.Entry<? extends L, ? extends R>> iterable)

Source from the content-addressed store, hash-verified

352 * @return Iterable over the right elements
353 */
354 public static <L, R> Iterable<R> right(
355 final Iterable<? extends Map.Entry<? extends L, ? extends R>> iterable) {
356 return Util.transform(iterable, Map.Entry::getValue);
357 }
358
359 @SuppressWarnings("unchecked")
360 public static <K, V> List<K> left(

Callers 15

allMethod · 0.95
allReversedMethod · 0.95
deriveRowTypeMethod · 0.95
getQueryMethod · 0.95
sortLimitMethod · 0.95
createProjectMethod · 0.95
rowBuilderFactoryMethod · 0.95
rowBuilderFactory2Method · 0.95
createIdentityMethod · 0.95
getFunctionsMethod · 0.95
onMatchMethod · 0.95

Calls 2

transformMethod · 0.95
rightListMethod · 0.65

Tested by 3

allMethod · 0.76
allReversedMethod · 0.76
onRegisterMethod · 0.76