@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.InputFrameworkInterface
initialize
in class org.apache.tez.runtime.api.AbstractLogicalInput
Exception
public void start() throws IOException
IOException
public KeyValueReader getReader() throws Exception
Exception
public void handleEvents(List<org.apache.tez.runtime.api.Event> inputEvents) throws IOException
IOException
Copyright © 2016 Apache Software Foundation. All rights reserved.