public class CalculateContacts extends Object implements org.apache.spark.api.java.function.FlatMapFunction<scala.Tuple2<String,org.rcsb.mmtf.api.StructureDataInterface>,org.biojava.nbio.structure.contact.AtomContact>
Tuple2StringStructureDataInterface is the entry type.
String is the return type.
Flatmap means that the return from call must be an interable of String and Float (stored in Tuple2).
String and Float can be changed to any type (including custom data objects).| Constructor and Description |
|---|
CalculateContacts(org.rcsb.mmtf.spark.data.AtomSelectObject selectObjectOne,
org.rcsb.mmtf.spark.data.AtomSelectObject selectObjectTwo,
double cutoff) |
CalculateContacts(org.rcsb.mmtf.spark.data.AtomSelectObject selectObjectOne,
org.rcsb.mmtf.spark.data.AtomSelectObject selectObjectTwo,
double cutoff,
boolean fast) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<org.biojava.nbio.structure.contact.AtomContact> |
call(scala.Tuple2<String,org.rcsb.mmtf.api.StructureDataInterface> t) |
public CalculateContacts(org.rcsb.mmtf.spark.data.AtomSelectObject selectObjectOne,
org.rcsb.mmtf.spark.data.AtomSelectObject selectObjectTwo,
double cutoff)
selectObjectOne - selectObjectTwo - cutoff - public CalculateContacts(org.rcsb.mmtf.spark.data.AtomSelectObject selectObjectOne,
org.rcsb.mmtf.spark.data.AtomSelectObject selectObjectTwo,
double cutoff,
boolean fast)
selectObjectOne - selectObjectTwo - cutoff - fast - Copyright © 2016 Biojava. All Rights Reserved.