Class

com.redislabs.provider.redis.rdd

RedisKeysRDD

Related Doc: package rdd

Permalink

class RedisKeysRDD extends RDD[String] with Keys

Linear Supertypes
Keys, RDD[String], Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisKeysRDD
  2. Keys
  3. RDD
  4. Logging
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisKeysRDD(sc: SparkContext, redisConfig: RedisConfig, keyPattern: String = "*", partitionNum: Int = 3, keys: Array[String] = null)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(other: RDD[String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def aggregate[U](zeroValue: U)(seqOp: (U, String) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): U

    Permalink
    Definition Classes
    RDD
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def cache(): RedisKeysRDD.this.type

    Permalink
    Definition Classes
    RDD
  8. def cartesian[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[(String, U)]

    Permalink
    Definition Classes
    RDD
  9. def checkpoint(): Unit

    Permalink
    Definition Classes
    RDD
  10. def clearDependencies(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    RDD
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def coalesce(numPartitions: Int, shuffle: Boolean, partitionCoalescer: Option[PartitionCoalescer])(implicit ord: Ordering[String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  13. def collect[U](f: PartialFunction[String, U])(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  14. def collect(): Array[String]

    Permalink
    Definition Classes
    RDD
  15. def compute(split: Partition, context: TaskContext): Iterator[String]

    Permalink
    Definition Classes
    RedisKeysRDD → RDD
  16. def context: SparkContext

    Permalink
    Definition Classes
    RDD
  17. def count(): Long

    Permalink
    Definition Classes
    RDD
  18. def countApprox(timeout: Long, confidence: Double): PartialResult[BoundedDouble]

    Permalink
    Definition Classes
    RDD
  19. def countApproxDistinct(relativeSD: Double): Long

    Permalink
    Definition Classes
    RDD
  20. def countApproxDistinct(p: Int, sp: Int): Long

    Permalink
    Definition Classes
    RDD
  21. def countByValue()(implicit ord: Ordering[String]): Map[String, Long]

    Permalink
    Definition Classes
    RDD
  22. def countByValueApprox(timeout: Long, confidence: Double)(implicit ord: Ordering[String]): PartialResult[Map[String, BoundedDouble]]

    Permalink
    Definition Classes
    RDD
  23. final def dependencies: Seq[Dependency[_]]

    Permalink
    Definition Classes
    RDD
  24. def distinct(): RDD[String]

    Permalink
    Definition Classes
    RDD
  25. def distinct(numPartitions: Int)(implicit ord: Ordering[String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  26. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  28. def filter(f: (String) ⇒ Boolean): RDD[String]

    Permalink
    Definition Classes
    RDD
  29. def filterKeysByType(conn: Jedis, keys: Array[String], t: String): Array[String]

    Permalink

    keys

    keys are guaranteed that they belongs with the server jedis connected to. return keys of "t" type

    Definition Classes
    Keys
  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def first(): String

    Permalink
    Definition Classes
    RDD
  32. def firstParent[U](implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Attributes
    protected[org.apache.spark]
    Definition Classes
    RDD
  33. def flatMap[U](f: (String) ⇒ TraversableOnce[U])(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  34. def fold(zeroValue: String)(op: (String, String) ⇒ String): String

    Permalink
    Definition Classes
    RDD
  35. def foreach(f: (String) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RDD
  36. def foreachPartition(f: (Iterator[String]) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RDD
  37. def getCheckpointFile: Option[String]

    Permalink
    Definition Classes
    RDD
  38. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  39. def getDependencies: Seq[Dependency[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    RDD
  40. def getHash(): RDD[(String, String)]

    Permalink

    filter the 'hash' type keys and get all the elements of them

    filter the 'hash' type keys and get all the elements of them

    returns

    RedisHashRDD[(String, String)]

  41. def getKV(): RDD[(String, String)]

    Permalink

    filter the 'plain k/v' type keys and get all the k/v

    filter the 'plain k/v' type keys and get all the k/v

    returns

    RedisKVRDD[(String, String)]

  42. def getKeys(nodes: Array[RedisNode], sPos: Int, ePos: Int, keyPattern: String): HashSet[String]

    Permalink

    nodes

    list of RedisNode

    sPos

    start position of slots

    ePos

    end position of slots

    keyPattern

    return keys whose slot is in [sPos, ePos]

    Definition Classes
    Keys
  43. def getList(): RDD[String]

    Permalink

    filter the 'list' type keys and get all the elements of them

    filter the 'list' type keys and get all the elements of them

    returns

    RedisListRDD[String]

  44. final def getNumPartitions: Int

    Permalink
    Definition Classes
    RDD
    Annotations
    @Since( "1.6.0" )
  45. def getPartitions: Array[Partition]

    Permalink
    Attributes
    protected
    Definition Classes
    RedisKeysRDD → RDD
  46. def getPreferredLocations(split: Partition): Seq[String]

    Permalink
    Attributes
    protected
    Definition Classes
    RedisKeysRDD → RDD
  47. def getSet(): RDD[String]

    Permalink

    filter the 'set' type keys and get all the elements of them

    filter the 'set' type keys and get all the elements of them

    returns

    RedisSetRDD[String]

  48. def getStorageLevel: StorageLevel

    Permalink
    Definition Classes
    RDD
  49. def getZSet(): RDD[String]

    Permalink

    filter the 'zset' type keys and get all the elements(without scores) of them

    filter the 'zset' type keys and get all the elements(without scores) of them

    returns

    RedisZSetRDD[String]

  50. def getZSetByRange(startPos: Long, endPos: Long): RDD[String]

    Permalink

    filter the 'zset' type keys and get all the elements(without scores) of range [startPos, endPos]

    filter the 'zset' type keys and get all the elements(without scores) of range [startPos, endPos]

    startPos

    start position of zsets

    endPos

    end position of zsets

    returns

    RedisZSetRDD[String]

  51. def getZSetByRangeWithScore(startPos: Long, endPos: Long): RDD[(String, Double)]

    Permalink

    filter the 'zset' type keys and get all the elements(with scores) of range [startPos, endPos]

    filter the 'zset' type keys and get all the elements(with scores) of range [startPos, endPos]

    startPos

    start position of zsets

    endPos

    end position of zsets

    returns

    RedisZSetRDD[(String, Double)]

  52. def getZSetByScore(min: Double, max: Double): RDD[String]

    Permalink

    filter the 'zset' type keys and get all the elements(without scores) of score range [min, max]

    filter the 'zset' type keys and get all the elements(without scores) of score range [min, max]

    min

    start position of zsets

    max

    end position of zsets

    returns

    RedisZSetRDD[String]

  53. def getZSetByScoreWithScore(min: Double, max: Double): RDD[(String, Double)]

    Permalink

    filter the 'zset' type keys and get all the elements(with scores) of score range [min, max]

    filter the 'zset' type keys and get all the elements(with scores) of score range [min, max]

    min

    start position of zsets

    max

    end position of zsets

    returns

    RedisZSetRDD[(String, Double)]

  54. def getZSetWithScore(): RDD[(String, Double)]

    Permalink

    filter the 'zset' type keys and get all the elements(with scores) of them

    filter the 'zset' type keys and get all the elements(with scores) of them

    returns

    RedisZSetRDD[(String, Double)]

  55. def glom(): RDD[Array[String]]

    Permalink
    Definition Classes
    RDD
  56. def groupBy[K](f: (String) ⇒ K, p: Partitioner)(implicit kt: ClassTag[K], ord: Ordering[K]): RDD[(K, Iterable[String])]

    Permalink
    Definition Classes
    RDD
  57. def groupBy[K](f: (String) ⇒ K, numPartitions: Int)(implicit kt: ClassTag[K]): RDD[(K, Iterable[String])]

    Permalink
    Definition Classes
    RDD
  58. def groupBy[K](f: (String) ⇒ K)(implicit kt: ClassTag[K]): RDD[(K, Iterable[String])]

    Permalink
    Definition Classes
    RDD
  59. def groupKeysByNode(nodes: Array[RedisNode], keys: Iterator[String]): Array[(RedisNode, Array[String])]

    Permalink

    nodes

    list of RedisNode

    keys

    list of keys return (node: (key1, key2, ...), node2: (key3, key4,...), ...)

    Definition Classes
    Keys
  60. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  61. val id: Int

    Permalink
    Definition Classes
    RDD
  62. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  63. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  64. def intersection(other: RDD[String], numPartitions: Int): RDD[String]

    Permalink
    Definition Classes
    RDD
  65. def intersection(other: RDD[String], partitioner: Partitioner)(implicit ord: Ordering[String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  66. def intersection(other: RDD[String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  67. def isCheckpointed: Boolean

    Permalink
    Definition Classes
    RDD
  68. def isEmpty(): Boolean

    Permalink
    Definition Classes
    RDD
  69. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  70. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  71. final def iterator(split: Partition, context: TaskContext): Iterator[String]

    Permalink
    Definition Classes
    RDD
  72. def keyBy[K](f: (String) ⇒ K): RDD[(K, String)]

    Permalink
    Definition Classes
    RDD
  73. val keyPattern: String

    Permalink
  74. val keys: Array[String]

    Permalink
  75. def localCheckpoint(): RedisKeysRDD.this.type

    Permalink
    Definition Classes
    RDD
  76. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  77. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  78. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  79. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  80. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  81. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  82. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  83. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  84. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  85. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  86. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  87. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  88. def map[U](f: (String) ⇒ U)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  89. def mapPartitions[U](f: (Iterator[String]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  90. def mapPartitionsWithIndex[U](f: (Int, Iterator[String]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  91. def max()(implicit ord: Ordering[String]): String

    Permalink
    Definition Classes
    RDD
  92. def min()(implicit ord: Ordering[String]): String

    Permalink
    Definition Classes
    RDD
  93. var name: String

    Permalink
    Definition Classes
    RDD
  94. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  95. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  96. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  97. def parent[U](j: Int)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Attributes
    protected[org.apache.spark]
    Definition Classes
    RDD
  98. val partitionNum: Int

    Permalink
  99. val partitioner: Option[Partitioner]

    Permalink
    Definition Classes
    RDD
  100. final def partitions: Array[Partition]

    Permalink
    Definition Classes
    RDD
  101. def persist(): RedisKeysRDD.this.type

    Permalink
    Definition Classes
    RDD
  102. def persist(newLevel: StorageLevel): RedisKeysRDD.this.type

    Permalink
    Definition Classes
    RDD
  103. def pipe(command: Seq[String], env: Map[String, String], printPipeContext: ((String) ⇒ Unit) ⇒ Unit, printRDDElement: (String, (String) ⇒ Unit) ⇒ Unit, separateWorkingDir: Boolean, bufferSize: Int, encoding: String): RDD[String]

    Permalink
    Definition Classes
    RDD
  104. def pipe(command: String, env: Map[String, String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  105. def pipe(command: String): RDD[String]

    Permalink
    Definition Classes
    RDD
  106. final def preferredLocations(split: Partition): Seq[String]

    Permalink
    Definition Classes
    RDD
  107. def randomSplit(weights: Array[Double], seed: Long): Array[RDD[String]]

    Permalink
    Definition Classes
    RDD
  108. val redisConfig: RedisConfig

    Permalink
  109. def reduce(f: (String, String) ⇒ String): String

    Permalink
    Definition Classes
    RDD
  110. def repartition(numPartitions: Int)(implicit ord: Ordering[String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  111. def sample(withReplacement: Boolean, fraction: Double, seed: Long): RDD[String]

    Permalink
    Definition Classes
    RDD
  112. def saveAsObjectFile(path: String): Unit

    Permalink
    Definition Classes
    RDD
  113. def saveAsTextFile(path: String, codec: Class[_ <: CompressionCodec]): Unit

    Permalink
    Definition Classes
    RDD
  114. def saveAsTextFile(path: String): Unit

    Permalink
    Definition Classes
    RDD
  115. def setName(_name: String): RedisKeysRDD.this.type

    Permalink
    Definition Classes
    RDD
  116. def sortBy[K](f: (String) ⇒ K, ascending: Boolean, numPartitions: Int)(implicit ord: Ordering[K], ctag: ClassTag[K]): RDD[String]

    Permalink
    Definition Classes
    RDD
  117. def sparkContext: SparkContext

    Permalink
    Definition Classes
    RDD
  118. def subtract(other: RDD[String], p: Partitioner)(implicit ord: Ordering[String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  119. def subtract(other: RDD[String], numPartitions: Int): RDD[String]

    Permalink
    Definition Classes
    RDD
  120. def subtract(other: RDD[String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  121. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  122. def take(num: Int): Array[String]

    Permalink
    Definition Classes
    RDD
  123. def takeOrdered(num: Int)(implicit ord: Ordering[String]): Array[String]

    Permalink
    Definition Classes
    RDD
  124. def takeSample(withReplacement: Boolean, num: Int, seed: Long): Array[String]

    Permalink
    Definition Classes
    RDD
  125. def toDebugString: String

    Permalink
    Definition Classes
    RDD
  126. def toJavaRDD(): JavaRDD[String]

    Permalink
    Definition Classes
    RDD
  127. def toLocalIterator: Iterator[String]

    Permalink
    Definition Classes
    RDD
  128. def toString(): String

    Permalink
    Definition Classes
    RDD → AnyRef → Any
  129. def top(num: Int)(implicit ord: Ordering[String]): Array[String]

    Permalink
    Definition Classes
    RDD
  130. def treeAggregate[U](zeroValue: U)(seqOp: (U, String) ⇒ U, combOp: (U, U) ⇒ U, depth: Int)(implicit arg0: ClassTag[U]): U

    Permalink
    Definition Classes
    RDD
  131. def treeReduce(f: (String, String) ⇒ String, depth: Int): String

    Permalink
    Definition Classes
    RDD
  132. def union(other: RDD[String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  133. def unpersist(blocking: Boolean): RedisKeysRDD.this.type

    Permalink
    Definition Classes
    RDD
  134. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  135. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  136. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  137. def zip[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[(String, U)]

    Permalink
    Definition Classes
    RDD
  138. def zipPartitions[B, C, D, V](rdd2: RDD[B], rdd3: RDD[C], rdd4: RDD[D])(f: (Iterator[String], Iterator[B], Iterator[C], Iterator[D]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[D], arg3: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  139. def zipPartitions[B, C, D, V](rdd2: RDD[B], rdd3: RDD[C], rdd4: RDD[D], preservesPartitioning: Boolean)(f: (Iterator[String], Iterator[B], Iterator[C], Iterator[D]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[D], arg3: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  140. def zipPartitions[B, C, V](rdd2: RDD[B], rdd3: RDD[C])(f: (Iterator[String], Iterator[B], Iterator[C]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  141. def zipPartitions[B, C, V](rdd2: RDD[B], rdd3: RDD[C], preservesPartitioning: Boolean)(f: (Iterator[String], Iterator[B], Iterator[C]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  142. def zipPartitions[B, V](rdd2: RDD[B])(f: (Iterator[String], Iterator[B]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  143. def zipPartitions[B, V](rdd2: RDD[B], preservesPartitioning: Boolean)(f: (Iterator[String], Iterator[B]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  144. def zipWithIndex(): RDD[(String, Long)]

    Permalink
    Definition Classes
    RDD
  145. def zipWithUniqueId(): RDD[(String, Long)]

    Permalink
    Definition Classes
    RDD

Inherited from Keys

Inherited from RDD[String]

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped