@InterfaceAudience.Public
public class UnorderedKVInput
extends org.apache.tez.runtime.api.AbstractLogicalInput
UnorderedKVInput provides unordered key value input by
bringing together (shuffling) a set of distributed data and providing a
unified view to that data. There are no ordering constraints applied by
this input.| Constructor and Description |
|---|
UnorderedKVInput(org.apache.tez.runtime.api.InputContext inputContext,
int numPhysicalInputs) |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.tez.runtime.api.Event> |
close() |
KeyValueReader |
getReader() |
void |
handleEvents(List<org.apache.tez.runtime.api.Event> inputEvents) |
List<org.apache.tez.runtime.api.Event> |
initialize() |
void |
start() |
public UnorderedKVInput(org.apache.tez.runtime.api.InputContext inputContext,
int numPhysicalInputs)
public List<org.apache.tez.runtime.api.Event> initialize() throws Exception
initialize in interface org.apache.tez.runtime.api.InputFrameworkInterfaceinitialize in class org.apache.tez.runtime.api.AbstractLogicalInputExceptionpublic void start()
throws IOException
IOExceptionpublic KeyValueReader getReader() throws Exception
Exceptionpublic void handleEvents(List<org.apache.tez.runtime.api.Event> inputEvents) throws IOException
IOExceptionCopyright © 2015 Apache Software Foundation. All rights reserved.