public class BlockPartitioner
extends org.apache.spark.Partitioner
| Constructor and Description |
|---|
BlockPartitioner(DataCharacteristics mc,
int numParts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getPartition(Object arg0) |
int |
hashCode() |
int |
numPartitions() |
public BlockPartitioner(DataCharacteristics mc, int numParts)
public int getPartition(Object arg0)
getPartition in class org.apache.spark.Partitionerpublic int numPartitions()
numPartitions in class org.apache.spark.PartitionerCopyright © 2021 The Apache Software Foundation. All rights reserved.