Tabnine Logo
PCollectionViews.multimapView
Code IndexAdd Tabnine to your IDE (free)

How to use
multimapView
method
in
org.apache.beam.sdk.values.PCollectionViews

Best Java code snippets using org.apache.beam.sdk.values.PCollectionViews.multimapView (Showing top 1 results out of 315)

origin: org.apache.beam/beam-sdks-java-core

 @Override
 public PCollectionView<Map<K, Iterable<V>>> expand(PCollection<KV<K, V>> input) {
  try {
   GroupByKey.applicableTo(input);
  } catch (IllegalStateException e) {
   throw new IllegalStateException("Unable to create a side-input view from input", e);
  }
  PCollection<KV<Void, KV<K, V>>> materializationInput =
    input.apply(new VoidKeyToMultimapMaterialization<>());
  PCollectionView<Map<K, Iterable<V>>> view =
    PCollectionViews.multimapView(
      materializationInput, materializationInput.getWindowingStrategy());
  materializationInput.apply(CreatePCollectionView.of(view));
  return view;
 }
}
org.apache.beam.sdk.valuesPCollectionViewsmultimapView

Javadoc

Returns a PCollectionView>> capable of processing elements windowed using the provided WindowingStrategy.

Popular methods of PCollectionViews

  • toAdditionalInputs
    Expands a list of PCollectionView into the form needed for PTransform#getAdditionalInputs().
  • listView
    Returns a PCollectionView> capable of processing elements windowed using the provided WindowingStrat
  • singletonView
    Returns a PCollectionView capable of processing elements windowed using the provided WindowingStrate
  • iterableView
    Returns a PCollectionView> capable of processing elements windowed using the provided WindowingStrat
  • mapView
    Returns a PCollectionView> capable of processing elements windowed using the provided WindowingStrat

Popular in Java

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • BoxLayout (javax.swing)
  • JLabel (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now