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
Ordering
- Alphabetic
- By Inheritance
Inherited
- CassandraCountPartitionReader
- Serializable
- Serializable
- Product
- Equals
- CassandraPartitionReaderBase
- Logging
- SupportsReportStatistics
- Scan
- PartitionReader
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CassandraCountPartitionReader(connector: CassandraConnector, tableDef: TableDef, schema: StructType, readConf: ReadConf, queryParts: CqlQueryParts, partition: CassandraPartition[Any, _ <: Token[Any]])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- CassandraPartitionReaderBase → Closeable → AutoCloseable
-
def
columnNames: IndexedSeq[String]
- Attributes
- protected
- Definition Classes
- CassandraPartitionReaderBase
-
val
connector: CassandraConnector
- Definition Classes
- CassandraCountPartitionReader → CassandraPartitionReaderBase
-
def
currentMetricsValues(): Array[CustomTaskMetric]
- Definition Classes
- PartitionReader
-
def
description(): String
- Definition Classes
- Scan
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
estimateStatistics(): Statistics
- Definition Classes
- CassandraPartitionReaderBase → SupportsReportStatistics
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(): InternalRow
- Definition Classes
- CassandraPartitionReaderBase → PartitionReader
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getIterator(): Iterator[InternalRow]
- Attributes
- protected
- Definition Classes
- CassandraPartitionReaderBase
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
var
lastRow: InternalRow
- Attributes
- protected
- Definition Classes
- CassandraPartitionReaderBase
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
next(): Boolean
- Definition Classes
- CassandraPartitionReaderBase → PartitionReader
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
partition: CassandraPartition[Any, _ <: Token[Any]]
- Definition Classes
- CassandraCountPartitionReader → CassandraPartitionReaderBase
-
val
queryParts: CqlQueryParts
- Definition Classes
- CassandraCountPartitionReader → CassandraPartitionReaderBase
-
val
readConf: ReadConf
- Definition Classes
- CassandraCountPartitionReader → CassandraPartitionReaderBase
-
def
readSchema(): StructType
- Definition Classes
- CassandraPartitionReaderBase → Scan
-
val
rowIterator: Iterator[InternalRow]
- Definition Classes
- CassandraCountPartitionReader → CassandraPartitionReaderBase
-
val
rowReader: RowReader[UnsafeRow]
- Definition Classes
- CassandraCountPartitionReader → CassandraPartitionReaderBase
-
val
scanner: Scanner
- Attributes
- protected
- Definition Classes
- CassandraPartitionReaderBase
-
val
schema: StructType
- Definition Classes
- CassandraCountPartitionReader → CassandraPartitionReaderBase
-
def
supportedCustomMetrics(): Array[CustomMetric]
- Definition Classes
- Scan
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
tableDef: TableDef
- Definition Classes
- CassandraCountPartitionReader → CassandraPartitionReaderBase
-
def
toBatch(): Batch
- Definition Classes
- Scan
-
def
toContinuousStream(arg0: String): ContinuousStream
- Definition Classes
- Scan
-
def
toMicroBatchStream(arg0: String): MicroBatchStream
- Definition Classes
- Scan
-
val
tokenRanges: Iterable[CqlTokenRange[Any, _$2]] forSome {type _$2 <: Token[Any]}
- Attributes
- protected
- Definition Classes
- CassandraPartitionReaderBase
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()