/** * Constructor of IREdge. * * @param commPattern data communication pattern type of the edge. * @param src source vertex. * @param dst destination vertex. */ public IREdge(final CommunicationPatternProperty.Value commPattern, final IRVertex src, final IRVertex dst) { super(IdManager.newEdgeId(), src, dst); this.executionProperties = ExecutionPropertyMap.of(this, commPattern); }
/** * Constructor of IRVertex. */ public IRVertex() { super(IdManager.newVertexId()); this.executionProperties = ExecutionPropertyMap.of(this); this.stagePartitioned = false; }
@Parameter(JobConf.FileDirectory.class) final String localDirectory, @Parameter(JobConf.GlusterVolumeDirectory.class) final String glusterDirectory) { IdManager.setInDriver(); this.userApplicationRunner = userApplicationRunner; this.runtimeMaster = runtimeMaster;
@Parameter(JobConf.FileDirectory.class) final String localDirectory, @Parameter(JobConf.GlusterVolumeDirectory.class) final String glusterDirectory) { IdManager.setInDriver(); this.userApplicationRunner = userApplicationRunner; this.runtimeMaster = runtimeMaster;
/** * Constructor of IREdge. * * @param commPattern data communication pattern type of the edge. * @param src source vertex. * @param dst destination vertex. */ public IREdge(final CommunicationPatternProperty.Value commPattern, final IRVertex src, final IRVertex dst) { super(IdManager.newEdgeId(), src, dst); this.executionProperties = ExecutionPropertyMap.of(this, commPattern); }
/** * Constructor of IRVertex. */ public IRVertex() { super(IdManager.newVertexId()); this.executionProperties = ExecutionPropertyMap.of(this); this.stagePartitioned = false; }
if (cachedEdge != null) { final StageEdge newEdge = new StageEdge( IdManager.newEdgeId(), cachedEdge.getExecutionProperties(), cachedEdge.getSrcIRVertex(),
/** * Copy Constructor for IRVertex. * * @param that the source object for copying */ public IRVertex(final IRVertex that) { super(IdManager.newVertexId()); this.executionProperties = ExecutionPropertyMap.of(this); that.getExecutionProperties().forEachProperties(this::setProperty); this.stagePartitioned = that.stagePartitioned; }
if (cachedEdge != null) { final StageEdge newEdge = new StageEdge( IdManager.newEdgeId(), cachedEdge.getExecutionProperties(), cachedEdge.getSrcIRVertex(),
/** * Copy Constructor for IRVertex. * * @param that the source object for copying */ public IRVertex(final IRVertex that) { super(IdManager.newVertexId()); this.executionProperties = ExecutionPropertyMap.of(this); that.getExecutionProperties().forEachProperties(this::setProperty); this.stagePartitioned = that.stagePartitioned; }