DefaultJdbcUnsplittableSnapshotPartition

Default implementation of a JdbcPartition for an unsplittable snapshot partition.

Constructors

Link copied to clipboard
constructor(selectQueryGenerator: SelectQueryGenerator, streamState: DefaultJdbcStreamState)

Properties

Link copied to clipboard
open override val completeState: OpaqueStateValue

State value to emit when the partition is read in its entirety.

Link copied to clipboard
val from: From
Link copied to clipboard
open override val nonResumableQuery: SelectQuery

Query which produces all records in the partition in no particular order.

Link copied to clipboard
Link copied to clipboard

The partition's stream's transient state, including parameters like fetchSize, etc.

Functions

Link copied to clipboard
open override fun samplingQuery(sampleRateInvPow2: Int): SelectQuery

Query which samples records in the partition at the rate of 2^-sampleRateInvPow2.

Link copied to clipboard