use of edu.iu.dsc.tws.api.compute.graph.Edge in project twister2 by DSC-SPIDAL.
the class SDirectTLink method getEdge.
@Override
public Edge getEdge() {
Edge e = new Edge(getId(), OperationNames.DIRECT, this.getSchema().getDataType());
TLinkUtils.generateCommsSchema(getSchema(), e);
return e;
}
use of edu.iu.dsc.tws.api.compute.graph.Edge in project twister2 by DSC-SPIDAL.
the class SPartitionTLink method getEdge.
@Override
public Edge getEdge() {
Edge e = new Edge(getId(), OperationNames.PARTITION, this.getSchema().getDataType());
if (partitionFunction != null) {
e.setPartitioner(partitionFunction);
}
TLinkUtils.generateCommsSchema(getSchema(), e);
return e;
}
Aggregations