@InterfaceAudience.Public
public class OrderedPartitionedKVOutput
extends org.apache.tez.runtime.api.AbstractLogicalOutput
OrderedPartitionedKVOutput
is an AbstractLogicalOutput
which sorts
key/value pairs written to it. It also partitions the output based on a
Partitioner
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
protected MemoryUpdateCallbackHandler |
memoryUpdateCallbackHandler |
protected org.apache.tez.runtime.library.common.sort.impl.ExternalSorter |
sorter |
Constructor and Description |
---|
OrderedPartitionedKVOutput(org.apache.tez.runtime.api.OutputContext outputContext,
int numPhysicalOutputs) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.tez.runtime.api.Event> |
close() |
KeyValuesWriter |
getWriter() |
void |
handleEvents(List<org.apache.tez.runtime.api.Event> outputEvents) |
List<org.apache.tez.runtime.api.Event> |
initialize() |
void |
start() |
protected org.apache.tez.runtime.library.common.sort.impl.ExternalSorter sorter
protected org.apache.hadoop.conf.Configuration conf
protected MemoryUpdateCallbackHandler memoryUpdateCallbackHandler
public OrderedPartitionedKVOutput(org.apache.tez.runtime.api.OutputContext outputContext, int numPhysicalOutputs)
public List<org.apache.tez.runtime.api.Event> initialize() throws IOException
initialize
in interface org.apache.tez.runtime.api.OutputFrameworkInterface
initialize
in class org.apache.tez.runtime.api.AbstractLogicalOutput
IOException
public KeyValuesWriter getWriter() throws IOException
IOException
public void handleEvents(List<org.apache.tez.runtime.api.Event> outputEvents)
public List<org.apache.tez.runtime.api.Event> close() throws IOException
IOException
Copyright © 2024 Apache Software Foundation. All rights reserved.