public class DeepPartition extends Object implements org.apache.spark.Partition
| Constructor and Description |
|---|
DeepPartition(int rddId,
int idx,
DeepTokenRange range)
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
int |
index()
Returns the index of the current partition.
|
DeepTokenRange |
splitWrapper()
Returns the Cassandra split
|
String |
toString() |
public DeepPartition(int rddId,
int idx,
DeepTokenRange range)
rddId - the rdd id.idx - the index of the new partition (relative to the provided rdd id).range - the deep token range to wrap.public int hashCode()
public int index()
index in interface org.apache.spark.Partitionpublic DeepTokenRange splitWrapper()
Copyright © 2014. All rights reserved.