@InterfaceAudience.Public
public class OrderedGroupedMergedKVInput
extends org.apache.tez.runtime.api.MergedLogicalInput
MergedLogicalInput
which merges multiple
OrderedGroupedKVInput
s and returns a single view of these by merging
values which belong to the same key.
Combiners and Secondary Sort are not implemented, so there is no guarantee on
the order of values.Constructor and Description |
---|
OrderedGroupedMergedKVInput(org.apache.tez.runtime.api.MergedInputContext context,
List<org.apache.tez.runtime.api.Input> inputs) |
Modifier and Type | Method and Description |
---|---|
float |
getProgress() |
KeyValuesReader |
getReader()
Provides an ordered
KeyValuesReader |
void |
setConstituentInputIsReady(org.apache.tez.runtime.api.Input input) |
public OrderedGroupedMergedKVInput(org.apache.tez.runtime.api.MergedInputContext context, List<org.apache.tez.runtime.api.Input> inputs)
public KeyValuesReader getReader() throws Exception
KeyValuesReader
Exception
public void setConstituentInputIsReady(org.apache.tez.runtime.api.Input input)
setConstituentInputIsReady
in class org.apache.tez.runtime.api.MergedLogicalInput
public float getProgress() throws org.apache.tez.runtime.api.ProgressFailedException, InterruptedException
getProgress
in class org.apache.tez.runtime.api.MergedLogicalInput
org.apache.tez.runtime.api.ProgressFailedException
InterruptedException
Copyright © 2024 Apache Software Foundation. All rights reserved.