use of edu.iu.dsc.tws.api.compute.graph.Edge in project twister2 by DSC-SPIDAL.
the class KeyedReduceTLink method getEdge.
@Override
public Edge getEdge() {
Edge e = new Edge(getId(), OperationNames.KEYED_REDUCE, this.getSchema().getDataType(), reduceFn);
e.setKeyed(true);
e.setKeyType(this.getSchema().getKeyType());
TLinkUtils.generateKeyedCommsSchema(getSchema(), e);
return e;
}
use of edu.iu.dsc.tws.api.compute.graph.Edge in project twister2 by DSC-SPIDAL.
the class PipeTLink method getEdge.
@Override
public Edge getEdge() {
Edge e = new Edge(getId(), OperationNames.PIPE, 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 ReplicateTLink method getEdge.
@Override
public Edge getEdge() {
Edge e = new Edge(getId(), OperationNames.BROADCAST, this.getSchema().getDataType());
e.addProperty(CommunicationContext.USE_DISK, this.useDisk);
TLinkUtils.generateCommsSchema(getSchema(), e);
return e;
}
use of edu.iu.dsc.tws.api.compute.graph.Edge in project twister2 by DSC-SPIDAL.
the class RowPipeTLink method getEdge.
@Override
public Edge getEdge() {
Edge e = new Edge(getId(), OperationNames.TABLE_PIPE, MessageTypes.ARROW_TABLE);
e.addProperty(CommunicationContext.USE_DISK, this.useDisk);
TLinkUtils.generateCommsSchema(getSchema(), e);
return e;
}
use of edu.iu.dsc.tws.api.compute.graph.Edge in project twister2 by DSC-SPIDAL.
the class SKeyedPartitionTLink method getEdge.
@Override
public Edge getEdge() {
Edge e = new Edge(getId(), OperationNames.KEYED_PARTITION, this.getSchema().getDataType());
e.setKeyed(true);
e.setKeyType(this.getSchema().getKeyType());
e.setPartitioner(partitionFunction);
TLinkUtils.generateKeyedCommsSchema(getSchema(), e);
return e;
}
Aggregations