Class MultimapSideInput<K,​V>

  • All Implemented Interfaces:
    org.apache.beam.sdk.transforms.Materializations.MultimapView<K,​V>

    public class MultimapSideInput<K,​V>
    extends java.lang.Object
    implements org.apache.beam.sdk.transforms.Materializations.MultimapView<K,​V>
    An implementation of a multimap side input that utilizes the Beam Fn State API to fetch values.
    • Constructor Summary

      Constructors 
      Constructor Description
      MultimapSideInput​(Cache<?,​?> cache, BeamFnStateClient beamFnStateClient, java.lang.String instructionId, org.apache.beam.model.fnexecution.v1.BeamFnApi.StateKey stateKey, org.apache.beam.sdk.coders.Coder<K> keyCoder, org.apache.beam.sdk.coders.Coder<V> valueCoder, boolean useBulkRead)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<K> get()  
      java.lang.Iterable<V> get​(K k)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultimapSideInput

        public MultimapSideInput​(Cache<?,​?> cache,
                                 BeamFnStateClient beamFnStateClient,
                                 java.lang.String instructionId,
                                 org.apache.beam.model.fnexecution.v1.BeamFnApi.StateKey stateKey,
                                 org.apache.beam.sdk.coders.Coder<K> keyCoder,
                                 org.apache.beam.sdk.coders.Coder<V> valueCoder,
                                 boolean useBulkRead)
    • Method Detail

      • get

        public java.lang.Iterable<K> get()
        Specified by:
        get in interface org.apache.beam.sdk.transforms.Materializations.MultimapView<K,​V>
      • get

        public java.lang.Iterable<V> get​(K k)
        Specified by:
        get in interface org.apache.beam.sdk.transforms.Materializations.MultimapView<K,​V>