Class CombineRunners.PrecombineFactory<KeyT,​InputT,​AccumT>

  • All Implemented Interfaces:
    PTransformRunnerFactory<org.apache.beam.fn.harness.CombineRunners.PrecombineRunner<KeyT,​InputT,​AccumT>>
    Enclosing class:
    CombineRunners

    public static class CombineRunners.PrecombineFactory<KeyT,​InputT,​AccumT>
    extends java.lang.Object
    implements PTransformRunnerFactory<org.apache.beam.fn.harness.CombineRunners.PrecombineRunner<KeyT,​InputT,​AccumT>>
    A factory for CombineRunners.PrecombineRunners.
    • Constructor Detail

      • PrecombineFactory

        public PrecombineFactory()
    • Method Detail

      • createRunnerForPTransform

        public org.apache.beam.fn.harness.CombineRunners.PrecombineRunner<KeyT,​InputT,​AccumT> createRunnerForPTransform​(PTransformRunnerFactory.Context context)
                                                                                                                             throws java.io.IOException
        Description copied from interface: PTransformRunnerFactory
        Creates and returns a handler for a given PTransform. Note that the handler must support processing multiple bundles. The handler will be discarded if bundle processing fails or management of the handler between bundle processing fails. The handler may also be discarded due to memory pressure.
        Specified by:
        createRunnerForPTransform in interface PTransformRunnerFactory<KeyT>
        Throws:
        java.io.IOException