public class RangeUtils extends Object
CqlPagingRecordReader implementation that returns an instance of a
DeepRecordReader.| Modifier and Type | Method and Description |
|---|---|
static org.apache.cassandra.dht.IPartitioner |
getPartitioner(IDeepJobConfig config)
Creates a new instance of the cassandra partitioner configured in the configuration object.
|
static List<DeepTokenRange> |
getSplits(IDeepJobConfig config)
Returns the token ranges that will be mapped to Spark partitions.
|
public static List<DeepTokenRange> getSplits(IDeepJobConfig config)
config - the Deep configuration object.public static org.apache.cassandra.dht.IPartitioner getPartitioner(IDeepJobConfig config)
config - the Deep configuration object.Copyright © 2014. All rights reserved.