Class MapToAtoms

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.spark.api.java.function.FlatMapFunction<org.rcsb.mmtf.api.StructureDataInterface,​Atom>

    public class MapToAtoms
    extends java.lang.Object
    implements org.apache.spark.api.java.function.FlatMapFunction<org.rcsb.mmtf.api.StructureDataInterface,​Atom>
    Flat map a StructureDataInterface to it's underlying atoms.
    Author:
    Anthony Bradley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MapToAtoms()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<Atom> call​(org.rcsb.mmtf.api.StructureDataInterface structure)  
      • Methods inherited from class java.lang.Object

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

      • MapToAtoms

        public MapToAtoms()
    • Method Detail

      • call

        public java.util.Iterator<Atom> call​(org.rcsb.mmtf.api.StructureDataInterface structure)
                                      throws java.lang.Exception
        Specified by:
        call in interface org.apache.spark.api.java.function.FlatMapFunction<org.rcsb.mmtf.api.StructureDataInterface,​Atom>
        Throws:
        java.lang.Exception