org.apache.sysds.runtime.instructions.spark.utils

## Class RDDConverterUtils.BinaryCellToBinaryBlockFunction

- java.lang.Object
- - org.apache.sysds.runtime.instructions.spark.utils.RDDConverterUtils.BinaryCellToBinaryBlockFunction

- All Implemented Interfaces:
    Serializable, org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<MatrixIndexes,MatrixCell>>,MatrixIndexes,MatrixBlock>
  Enclosing class:
    RDDConverterUtils

      public static class RDDConverterUtils.BinaryCellToBinaryBlockFunction
      extends Object
      implements org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<MatrixIndexes,MatrixCell>>,MatrixIndexes,MatrixBlock>

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BinaryCellToBinaryBlockFunction(DataCharacteristics mc)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<scala.Tuple2<MatrixIndexes,MatrixBlock>>` | `call(Iterator<scala.Tuple2<MatrixIndexes,MatrixCell>> arg0)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BinaryCellToBinaryBlockFunction

          public BinaryCellToBinaryBlockFunction(DataCharacteristics mc)

  - ### Method Detail

    - #### call

          public Iterator<scala.Tuple2<MatrixIndexes,MatrixBlock>> call(Iterator<scala.Tuple2<MatrixIndexes,MatrixCell>> arg0)
                                                                 throws Exception

      Specified by:
        `call` in interface `org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<MatrixIndexes,MatrixCell>>,MatrixIndexes,MatrixBlock>`
      Throws:
        `Exception`

Copyright © 2021 The Apache Software Foundation. All rights reserved.