result = AsyncDataStream.orderedWait( inputStream, function,
DataStream<Integer> orderedResult = AsyncDataStream.orderedWait( input, function,
input = AsyncDataStream.orderedWait( input, new LazyAsyncFunction(), input = AsyncDataStream.orderedWait( input, new MyAsyncFunction(),
public static DataStream getSideJoinDataStream(DataStream inputStream, String sideType, String sqlRootDir, RowTypeInfo rowTypeInfo, JoinInfo joinInfo, List<FieldInfo> outFieldInfoList, SideTableInfo sideTableInfo) throws Exception { AsyncReqRow asyncDbReq = loadAsyncReq(sideType, sqlRootDir, rowTypeInfo, joinInfo, outFieldInfoList, sideTableInfo); //TODO How much should be set for the degree of parallelism? Timeout? capacity settings? return AsyncDataStream.orderedWait(inputStream, asyncDbReq, 10000, TimeUnit.MILLISECONDS, asyncCapacity) .setParallelism(sideTableInfo.getParallelism()); } }
result = AsyncDataStream.orderedWait( inputStream, function,