JdbcSharedState

@DefaultImplementation(value = DefaultJdbcSharedState::class)
interface JdbcSharedState

Encapsulates database-specific state, both constant or transient, common to all partitions.

Implementations should be thread-safe.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
fun interface RowByteSizeEstimator

Properties

Link copied to clipboard

Configuration for the JDBC source connector.

Link copied to clipboard
abstract val maxSampleSize: Int

Sample size limit.

Link copied to clipboard

Queries the database.

Link copied to clipboard

Keeping the time when the read operation started.

Link copied to clipboard

Targeted memory footprint of a partition, in bytes.

Link copied to clipboard
abstract val withSampling: Boolean

Is sampling the streams a good idea?

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Tries to acquire global resources for JdbcPartitionReader.