Class MapToGroups

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

    public class MapToGroups
    extends java.lang.Object
    implements org.apache.spark.api.java.function.FlatMapFunction<org.rcsb.mmtf.api.StructureDataInterface,​Group>
    Map a StructureDataInterface to its groups.
    Author:
    Anthony Bradley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MapToGroups()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<Group> 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

      • MapToGroups

        public MapToGroups()
    • Method Detail

      • call

        public java.util.Iterator<Group> 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,​Group>
        Throws:
        java.lang.Exception