Class CompositeVeniceWriter<K,V,U>

java.lang.Object
com.linkedin.venice.writer.AbstractVeniceWriter<K,V,U>
com.linkedin.venice.writer.CompositeVeniceWriter<K,V,U>
All Implemented Interfaces:
Closeable, AutoCloseable

public class CompositeVeniceWriter<K,V,U> extends AbstractVeniceWriter<K,V,U>
The composite writer contains a main writer and multiple child writers. The main writer will only perform the write once all of its child writers are complete. TODO The child writers are view writers. Ideally to avoid code duplication we should be using an array of VeniceViewWriter here. However, the current implementation of VeniceViewWriter involves PCS which is something specific to the ingestion path that we don't want to leak into venice-common.