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() |
ReadableSourceTarget<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, waitcreateSourceTarget, getDetachedValue, getInputMapFn, getOutputMapFn, getTypeClass, initializepublic PGroupedTableType(PTableType<K,V> tableType)
public PTableType<K,V> getTableType()
public PTypeFamily getFamily()
PTypePTypeFamily that this PType belongs to.public List<PType> getSubTypes()
PTypepublic Converter getConverter()
public abstract Converter getGroupingConverter()
public abstract void configureShuffle(org.apache.hadoop.mapreduce.Job job,
GroupingOptions options)
Copyright © 2016 The Apache Software Foundation. All rights reserved.