Class CompositeVeniceWriter<K,V,U>

java.lang.Object
com.linkedin.venice.writer.AbstractVeniceWriter<K,V,U>
com.linkedin.venice.hadoop.task.datawriter.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. Child writers are ComplexVeniceWriter. This is to provide chunking support during NR pass-through. All records produced by the ComplexVeniceWriter's main writer is expected to carry the PubSubMessageHeaders.VENICE_VIEW_PARTITIONS_MAP_HEADER.