presto-main/src/main/java/io/prestosql/operator/exchange/LocalExchangeSink.java/LocalExchangeSink/finishedLocalExchangeSink
class LocalExchangeSink:    public static LocalExchangeSink finishedLocalExchangeSink()
    {
        LocalExchangeSink finishedSink = new LocalExchangeSink(FINISHED, sink -> {});
        finishedSink.finish();
        return finishedSink;
    }