@InterfaceAudience.Public
public class UnorderedPartitionedKVOutput
extends org.apache.tez.runtime.api.AbstractLogicalOutput
UnorderedPartitionedKVOutput is a LogicalOutput which can be used to
write Key-Value pairs. The key-value pairs are written to the correct partition based on the
configured Partitioner.| Constructor and Description |
|---|
UnorderedPartitionedKVOutput(org.apache.tez.runtime.api.OutputContext outputContext,
int numPhysicalOutputs) |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.tez.runtime.api.Event> |
close() |
org.apache.tez.runtime.api.Writer |
getWriter() |
void |
handleEvents(List<org.apache.tez.runtime.api.Event> outputEvents) |
List<org.apache.tez.runtime.api.Event> |
initialize() |
void |
start() |
public UnorderedPartitionedKVOutput(org.apache.tez.runtime.api.OutputContext outputContext,
int numPhysicalOutputs)
public List<org.apache.tez.runtime.api.Event> initialize() throws Exception
initialize in interface org.apache.tez.runtime.api.OutputFrameworkInterfaceinitialize in class org.apache.tez.runtime.api.AbstractLogicalOutputExceptionpublic void handleEvents(List<org.apache.tez.runtime.api.Event> outputEvents)
Copyright © 2015 Apache Software Foundation. All rights reserved.