Class PdbIdToMmtf

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.spark.api.java.function.PairFunction<java.lang.String,​java.lang.String,​byte[]>

    public class PdbIdToMmtf
    extends java.lang.Object
    implements org.apache.spark.api.java.function.PairFunction<java.lang.String,​java.lang.String,​byte[]>
    Generate the internal data structure (using biojava) from a PDB code.
    Author:
    Anthony Bradley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PdbIdToMmtf​(java.lang.String producer)
      Constructor to provide the producer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      scala.Tuple2<java.lang.String,​byte[]> call​(java.lang.String t)  
      • Methods inherited from class java.lang.Object

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

      • PdbIdToMmtf

        public PdbIdToMmtf​(java.lang.String producer)
        Constructor to provide the producer.
        Parameters:
        producer - a string describing the producer
    • Method Detail

      • call

        public scala.Tuple2<java.lang.String,​byte[]> call​(java.lang.String t)
                                                         throws java.lang.Exception
        Specified by:
        call in interface org.apache.spark.api.java.function.PairFunction<java.lang.String,​java.lang.String,​byte[]>
        Throws:
        java.lang.Exception