Class GetData

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

    public class GetData
    extends java.lang.Object
    implements org.apache.spark.api.java.function.PairFunction<java.lang.String,​java.lang.String,​byte[]>
    Create an RDD by pulling data from the MMTF servers.
    Author:
    Anthony Bradley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GetData()  
    • Method Summary

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

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

      • GetData

        public GetData()
    • Method Detail

      • call

        public scala.Tuple2<java.lang.String,​byte[]> call​(java.lang.String inputPdbId)
                                                         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