@Override public DataStreamSource<T> setParallelism(int parallelism) { if (parallelism != 1 && !isParallel) { throw new IllegalArgumentException("Source: " + transformation.getId() + " is not a parallel source"); } else { super.setParallelism(parallelism); return this; } } }
/** * Returns the ID of the {@link DataStream} in the current {@link StreamExecutionEnvironment}. * * @return ID of the DataStream */ @Internal public int getId() { return transformation.getId(); }
streamGraph.setBufferTimeout(transform.getId(), transform.getBufferTimeout()); streamGraph.setTransformationUID(transform.getId(), transform.getUid()); streamGraph.setTransformationUserHash(transform.getId(), transform.getUserProvidedNodeHash()); streamGraph.setResources(transform.getId(), transform.getMinResources(), transform.getPreferredResources());
public void addTransformation(StreamTransformation<?> transformation) { transformationIDList.add(transformation.getId()); }
@Override public DataStreamSource<T> setParallelism(int parallelism) { if (parallelism > 1 && !isParallel) { throw new IllegalArgumentException("Source: " + transformation.getId() + " is not a parallel source"); } else { return (DataStreamSource<T>) super.setParallelism(parallelism); } } }
/** * Returns the ID of the {@link DataStream} in the current {@link StreamExecutionEnvironment}. * * @return ID of the DataStream */ @Internal public int getId() { return transformation.getId(); }
@Override public DataStreamSource<T> setParallelism(int parallelism) { if (parallelism != 1 && !isParallel) { throw new IllegalArgumentException("Source: " + transformation.getId() + " is not a parallel source"); } else { super.setParallelism(parallelism); return this; } } }
/** * Returns the ID of the {@link DataStream} in the current {@link StreamExecutionEnvironment}. * * @return ID of the DataStream */ @Internal public int getId() { return transformation.getId(); }
/** * Returns the ID of the {@link DataStream} in the current {@link StreamExecutionEnvironment}. * * @return ID of the DataStream */ @Internal public int getId() { return transformation.getId(); }
@Override public DataStreamSource<T> setParallelism(int parallelism) { if (parallelism != 1 && !isParallel) { throw new IllegalArgumentException("Source: " + transformation.getId() + " is not a parallel source"); } else { super.setParallelism(parallelism); return this; } } }
streamGraph.setBufferTimeout(transform.getId(), transform.getBufferTimeout()); streamGraph.setTransformationUID(transform.getId(), transform.getUid()); streamGraph.setTransformationUserHash(transform.getId(), transform.getUserProvidedNodeHash()); streamGraph.setResources(transform.getId(), transform.getMinResources(), transform.getPreferredResources());
streamGraph.setBufferTimeout(transform.getId(), transform.getBufferTimeout()); streamGraph.setTransformationUID(transform.getId(), transform.getUid()); streamGraph.setTransformationUserHash(transform.getId(), transform.getUserProvidedNodeHash()); streamGraph.setResources(transform.getId(), transform.getMinResources(), transform.getPreferredResources());
streamGraph.setBufferTimeout(transform.getId(), transform.getBufferTimeout()); streamGraph.setTransformationUID(transform.getId(), transform.getUid()); streamGraph.setTransformationUserHash(transform.getId(), transform.getUserProvidedNodeHash()); streamGraph.setResources(transform.getId(), transform.getMinResources(), transform.getPreferredResources());