public class PartitionedMapOutputFunction<K,V> extends Object implements org.apache.spark.api.java.function.PairFunction<Pair<K,V>,IntByteArray,byte[]>
Constructor and Description |
---|
PartitionedMapOutputFunction(SerDe<K> keySerde,
SerDe<V> valueSerde,
PGroupedTableType<K,V> ptype,
int numPartitions,
GroupingOptions options,
SparkRuntimeContext runtimeContext) |
public PartitionedMapOutputFunction(SerDe<K> keySerde, SerDe<V> valueSerde, PGroupedTableType<K,V> ptype, int numPartitions, GroupingOptions options, SparkRuntimeContext runtimeContext)
public scala.Tuple2<IntByteArray,byte[]> call(Pair<K,V> p) throws Exception
call
in interface org.apache.spark.api.java.function.PairFunction<Pair<K,V>,IntByteArray,byte[]>
Exception
Copyright © 2016 The Apache Software Foundation. All rights reserved.