Example #1
0
 @Override
 public PCollectionView<Map<K, Iterable<V>>> apply(PCollection<KV<K, V>> input) {
   return input.apply(
       CreatePCollectionView.<KV<K, V>, Map<K, Iterable<V>>>of(
           PCollectionViews.multimapView(
               input.getPipeline(), input.getWindowingStrategy(), input.getCoder())));
 }