Packages

c

com.datastax.spark.connector.datasource

CassandraScanPartitionReader

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

Physical Scan Reader of Cassandra

connector

Connection to Cassandra to use for Reading

tableDef

Table Definition Information for the table being scanned

schema

Output Schema to be produced from this read

readConf

Options relating to how the read should be performed

queryParts

Additional query elements to add to the TokenRange Scan query

partition

The Token Range to Query with Localization Info

Linear Supertypes
Serializable, Serializable, Product, Equals, CassandraPartitionReaderBase, Logging, SupportsReportStatistics, Scan, PartitionReader[InternalRow], Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CassandraScanPartitionReader
  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 CassandraScanPartitionReader(connector: CassandraConnector, tableDef: TableDef, schema: StructType, readConf: ReadConf, queryParts: CqlQueryParts, partition: CassandraPartition[Any, _ <: Token[Any]])

    connector

    Connection to Cassandra to use for Reading

    tableDef

    Table Definition Information for the table being scanned

    schema

    Output Schema to be produced from this read

    readConf

    Options relating to how the read should be performed

    queryParts

    Additional query elements to add to the TokenRange Scan query

    partition

    The Token Range to Query with Localization Info

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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