Class

org.apache.spark.sql.execution.row

RowFormatScanRDD

Related Doc: package row

Permalink

class RowFormatScanRDD extends RDDKryo[Any] with KryoSerializable

A scanner RDD which is very specific to Snappy store row tables. This scans row tables in parallel unlike Spark's inbuilt JDBCRDD.

Linear Supertypes
RDDKryo[Any], KryoSerializable, RDD[Any], internal.Logging, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RowFormatScanRDD
  2. RDDKryo
  3. KryoSerializable
  4. RDD
  5. Logging
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RowFormatScanRDD(session: SnappySession, tableName: String, isPartitioned: Boolean, columns: Array[String], pushProjections: Boolean, useResultSet: Boolean, connProperties: ConnectionProperties, filters: Array[Expression] = Array.empty[Expression], partitionEvaluator: () ⇒ Array[Partition] = () =>
    Array.empty[Partition]
    , partitionPruner: () ⇒ Int = () => -1, commitTx: Boolean, delayRollover: Boolean, projection: Array[Int], region: Option[LocalRegion])

    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[Any]): RDD[Any]

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

    Permalink
    Definition Classes
    AnyRef → Any
  5. def aggregate[U](zeroValue: U)(seqOp: (U, Any) ⇒ 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(): RowFormatScanRDD.this.type

    Permalink
    Definition Classes
    RDD
  8. def cartesian[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[(Any, 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[Any]): RDD[Any]

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

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

    Permalink
    Definition Classes
    RDD
  15. var columnList: String

    Permalink

    columns, but as a String suitable for injection into a SQL query.

    columns, but as a String suitable for injection into a SQL query.

    Attributes
    protected
  16. var commitTx: Boolean

    Permalink
    Attributes
    protected
  17. def commitTxBeforeTaskCompletion(conn: Option[Connection], context: TaskContext): Unit

    Permalink
  18. def compute(thePart: Partition, context: TaskContext): Iterator[Any]

    Permalink

    Runs the SQL query against the JDBC driver.

    Runs the SQL query against the JDBC driver.

    Definition Classes
    RowFormatScanRDD → RDD
  19. def computeResultSet(thePart: Partition, context: TaskContext): (Connection, Statement, ResultSet)

    Permalink
  20. var connProperties: ConnectionProperties

    Permalink
    Attributes
    protected
  21. def context: SparkContext

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

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

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

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

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

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

    Permalink
    Definition Classes
    RDD
  28. var delayRollover: Boolean

    Permalink
    Attributes
    protected
  29. final def dependencies: Seq[Dependency[_]]

    Permalink
    Definition Classes
    RDD
  30. def distinct(): RDD[Any]

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. def evaluateWhereClause(): Unit

    Permalink
    Attributes
    protected
  35. def filter(f: (Any) ⇒ Boolean): RDD[Any]

    Permalink
    Definition Classes
    RDD
  36. var filterWhereArgs: ArrayBuffer[Any]

    Permalink
    Attributes
    protected
  37. var filterWhereClause: String

    Permalink

    filters, but as a WHERE clause suitable for injection into a SQL query.

    filters, but as a WHERE clause suitable for injection into a SQL query.

    Attributes
    protected
  38. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    RDD
  42. def fold(zeroValue: Any)(op: (Any, Any) ⇒ Any): Any

    Permalink
    Definition Classes
    RDD
  43. def foreach(f: (Any) ⇒ Unit): Unit

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    RDD
  48. final def getNumPartitions: Int

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

    Permalink
    Definition Classes
    RowFormatScanRDD → RDD
  50. def getPreferredLocations(split: Partition): Seq[String]

    Permalink
    Definition Classes
    RowFormatScanRDD → RDD
  51. def getStorageLevel: StorageLevel

    Permalink
    Definition Classes
    RDD
  52. def glom(): RDD[Array[Any]]

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

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

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

    Permalink
    Definition Classes
    RDD
  56. def hashCode(): Int

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

    Permalink
    Definition Classes
    RDD
  58. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

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

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

    Permalink
    Definition Classes
    RDD
  61. def intersection(other: RDD[Any]): RDD[Any]

    Permalink
    Definition Classes
    RDD
  62. def isCheckpointed: Boolean

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

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

    Permalink
    Definition Classes
    Any
  65. var isPartitioned: Boolean

    Permalink
    Attributes
    protected
  66. def isTraceEnabled(): Boolean

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

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

    Permalink
    Definition Classes
    RDD
  69. def localCheckpoint(): RowFormatScanRDD.this.type

    Permalink
    Definition Classes
    RDD
  70. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    RDD
  85. def max()(implicit ord: Ordering[Any]): Any

    Permalink
    Definition Classes
    RDD
  86. def min()(implicit ord: Ordering[Any]): Any

    Permalink
    Definition Classes
    RDD
  87. var name: String

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

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

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

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

    Permalink
    Attributes
    protected[org.apache.spark]
    Definition Classes
    RDD
  92. val partitionEvaluator: () ⇒ Array[Partition]

    Permalink
    Attributes
    protected
  93. val partitionPruner: () ⇒ Int

    Permalink
    Attributes
    protected
  94. val partitioner: Option[Partitioner]

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

    Permalink
    Definition Classes
    RDD
  96. def persist(): RowFormatScanRDD.this.type

    Permalink
    Definition Classes
    RDD
  97. def persist(newLevel: StorageLevel): RowFormatScanRDD.this.type

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

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

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

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

    Permalink
    Definition Classes
    RDD
  102. var projection: Array[Int]

    Permalink
    Attributes
    protected
  103. var pushProjections: Boolean

    Permalink
  104. def randomSplit(weights: Array[Double], seed: Long): Array[RDD[Any]]

    Permalink
    Definition Classes
    RDD
  105. def read(kryo: Kryo, input: Input): Unit

    Permalink
    Definition Classes
    RowFormatScanRDDRDDKryo → KryoSerializable
  106. def reduce(f: (Any, Any) ⇒ Any): Any

    Permalink
    Definition Classes
    RDD
  107. val region: Option[LocalRegion]

    Permalink
    Attributes
    protected
  108. def repartition(numPartitions: Int)(implicit ord: Ordering[Any]): RDD[Any]

    Permalink
    Definition Classes
    RDD
  109. lazy val resultSetField: Field

    Permalink
    Attributes
    protected
  110. def sample(withReplacement: Boolean, fraction: Double, seed: Long): RDD[Any]

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

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

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

    Permalink
    Definition Classes
    RDD
  114. val session: SnappySession

    Permalink
  115. def setName(_name: String): RowFormatScanRDD.this.type

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

    Permalink
    Definition Classes
    RDD
  117. def sparkContext: SparkContext

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  122. var tableName: String

    Permalink
    Attributes
    protected
  123. def take(num: Int): Array[Any]

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

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

    Permalink
    Definition Classes
    RDD
  126. def toDebugString: String

    Permalink
    Definition Classes
    RDD
  127. def toJavaRDD(): JavaRDD[Any]

    Permalink
    Definition Classes
    RDD
  128. def toLocalIterator: Iterator[Any]

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

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

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

    Permalink
    Definition Classes
    RDD
  132. def treeReduce(f: (Any, Any) ⇒ Any, depth: Int): Any

    Permalink
    Definition Classes
    RDD
  133. def union(other: RDD[Any]): RDD[Any]

    Permalink
    Definition Classes
    RDD
  134. def unpersist(blocking: Boolean): RowFormatScanRDD.this.type

    Permalink
    Definition Classes
    RDD
  135. var useResultSet: Boolean

    Permalink
    Attributes
    protected
  136. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  139. def write(kryo: Kryo, output: Output): Unit

    Permalink
    Definition Classes
    RowFormatScanRDDRDDKryo → KryoSerializable
  140. def zip[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[(Any, U)]

    Permalink
    Definition Classes
    RDD
  141. def zipPartitions[B, C, D, V](rdd2: RDD[B], rdd3: RDD[C], rdd4: RDD[D])(f: (Iterator[Any], 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
  142. def zipPartitions[B, C, D, V](rdd2: RDD[B], rdd3: RDD[C], rdd4: RDD[D], preservesPartitioning: Boolean)(f: (Iterator[Any], 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
  143. def zipPartitions[B, C, V](rdd2: RDD[B], rdd3: RDD[C])(f: (Iterator[Any], Iterator[B], Iterator[C]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[V]): RDD[V]

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

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

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

    Permalink
    Definition Classes
    RDD
  147. def zipWithIndex(): RDD[(Any, Long)]

    Permalink
    Definition Classes
    RDD
  148. def zipWithUniqueId(): RDD[(Any, Long)]

    Permalink
    Definition Classes
    RDD

Inherited from RDDKryo[Any]

Inherited from KryoSerializable

Inherited from RDD[Any]

Inherited from internal.Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped