public abstract class PGroupedTableType<K,V> extends Object implements PType<Pair<K,Iterable<V>>>
PType
instance for PGroupedTable
instances. Its settings
are derived from the PTableType
that was grouped to create the
PGroupedTable
instance.Modifier and Type | Class and Description |
---|---|
static class |
PGroupedTableType.PairIterableMapFn<K,V> |
Constructor and Description |
---|
PGroupedTableType(PTableType<K,V> tableType) |
Modifier and Type | Method and Description |
---|---|
abstract void |
configureShuffle(org.apache.hadoop.mapreduce.Job job,
GroupingOptions options) |
Converter |
getConverter() |
SourceTarget<Pair<K,Iterable<V>>> |
getDefaultFileSource(org.apache.hadoop.fs.Path path)
Returns a
SourceTarget that is able to read/write data using the serialization format
specified by this PType . |
PTypeFamily |
getFamily()
Returns the
PTypeFamily that this PType belongs to. |
abstract Converter |
getGroupingConverter() |
List<PType> |
getSubTypes()
Returns the sub-types that make up this PType if it is a composite instance, such as a tuple.
|
PTableType<K,V> |
getTableType() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDetachedValue, getInputMapFn, getOutputMapFn, getTypeClass, initialize
public PGroupedTableType(PTableType<K,V> tableType)
public PTableType<K,V> getTableType()
public PTypeFamily getFamily()
PType
PTypeFamily
that this PType
belongs to.public List<PType> getSubTypes()
PType
public Converter getConverter()
public abstract Converter getGroupingConverter()
public abstract void configureShuffle(org.apache.hadoop.mapreduce.Job job, GroupingOptions options)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.