Packages

c

com.datastax.spark.connector.datasource

CassandraCountPartitionReader

case class CassandraCountPartitionReader(connector: CassandraConnector, tableDef: TableDef, schema: StructType, readConf: ReadConf, queryParts: CqlQueryParts, partition: CassandraPartition[Any, _ <: Token[Any]]) extends CassandraPartitionReaderBase with Product with Serializable

Runs a COUNT(*) query instead of a request for actual rows Takes the results and returns that many empty internal rows

Linear Supertypes
Serializable, Serializable, Product, Equals, CassandraPartitionReaderBase, Logging, SupportsReportStatistics, Scan, PartitionReader[InternalRow], Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CassandraCountPartitionReader
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CassandraPartitionReaderBase
  7. Logging
  8. SupportsReportStatistics
  9. Scan
  10. PartitionReader
  11. Closeable
  12. AutoCloseable
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CassandraCountPartitionReader(connector: CassandraConnector, tableDef: TableDef, schema: StructType, readConf: ReadConf, queryParts: CqlQueryParts, partition: CassandraPartition[Any, _ <: Token[Any]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def close(): Unit
    Definition Classes
    CassandraPartitionReaderBase → Closeable → AutoCloseable
  7. def columnNames: IndexedSeq[String]
    Attributes
    protected
    Definition Classes
    CassandraPartitionReaderBase
  8. val connector: CassandraConnector
  9. def currentMetricsValues(): Array[CustomTaskMetric]
    Definition Classes
    PartitionReader
  10. def description(): String
    Definition Classes
    Scan
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def estimateStatistics(): Statistics
    Definition Classes
    CassandraPartitionReaderBase → SupportsReportStatistics
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get(): InternalRow
    Definition Classes
    CassandraPartitionReaderBase → PartitionReader
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getIterator(): Iterator[InternalRow]
    Attributes
    protected
    Definition Classes
    CassandraPartitionReaderBase
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  19. var lastRow: InternalRow
    Attributes
    protected
    Definition Classes
    CassandraPartitionReaderBase
  20. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def next(): Boolean
    Definition Classes
    CassandraPartitionReaderBase → PartitionReader
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. val partition: CassandraPartition[Any, _ <: Token[Any]]
  37. val queryParts: CqlQueryParts
  38. val readConf: ReadConf
  39. def readSchema(): StructType
    Definition Classes
    CassandraPartitionReaderBase → Scan
  40. val rowIterator: Iterator[InternalRow]
  41. val rowReader: RowReader[UnsafeRow]
  42. val scanner: Scanner
    Attributes
    protected
    Definition Classes
    CassandraPartitionReaderBase
  43. val schema: StructType
  44. def supportedCustomMetrics(): Array[CustomMetric]
    Definition Classes
    Scan
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. val tableDef: TableDef
  47. def toBatch(): Batch
    Definition Classes
    Scan
  48. def toContinuousStream(arg0: String): ContinuousStream
    Definition Classes
    Scan
  49. def toMicroBatchStream(arg0: String): MicroBatchStream
    Definition Classes
    Scan
  50. val tokenRanges: Iterable[CqlTokenRange[Any, _$2]] forSome {type _$2 <: Token[Any]}
    Attributes
    protected
    Definition Classes
    CassandraPartitionReaderBase
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from SupportsReportStatistics

Inherited from Scan

Inherited from PartitionReader[InternalRow]

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped