DefaultJdbcPartitionFactory
@Singleton
Default implementation of JdbcPartitionFactory.
Constructors
Link copied to clipboard
constructor(sharedState: DefaultJdbcSharedState, handler: CatalogValidationFailureHandler, selectQueryGenerator: SelectQueryGenerator)
Properties
Functions
Link copied to clipboard
Deserializes the current OpaqueStateValue and creates a JdbcPartition instance corresponding to all remaining unread data in the Stream, if any; null otherwise.
Link copied to clipboard
open override fun split(unsplitPartition: DefaultJdbcPartition, opaqueStateValues: List<OpaqueStateValue>): List<DefaultJdbcPartition>
Subdivides the unsplitPartition by splitting at the opaqueStateValues, if possible.
Link copied to clipboard
Get or create the JdbcStreamState for a Stream.