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