DefaultJdbcCursorIncrementalPartition
class DefaultJdbcCursorIncrementalPartition(val selectQueryGenerator: SelectQueryGenerator, val streamState: DefaultJdbcStreamState, val cursor: Field, val cursorLowerBound: JsonNode, val isLowerBoundIncluded: Boolean, cursorUpperBound: JsonNode?) : DefaultJdbcCursorPartition
Default implementation of a JdbcPartition for a cursor incremental partition. These are always splittable.
Constructors
Link copied to clipboard
constructor(selectQueryGenerator: SelectQueryGenerator, streamState: DefaultJdbcStreamState, cursor: Field, cursorLowerBound: JsonNode, isLowerBoundIncluded: Boolean, cursorUpperBound: JsonNode?)
Properties
Link copied to clipboard
Link copied to clipboard
State value to emit when the partition is read in its entirety.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Query which produces the current maximum cursor value in the stream.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Query which produces all records in the partition in no particular order.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The partition's stream's transient state, including parameters like fetchSize, etc.
Link copied to clipboard
Functions
Link copied to clipboard
State value to emit when the partition is read up to (and including) lastRecord.
Link copied to clipboard
Query which produces a subset of records at the beginning of the partition.
Link copied to clipboard
Query which samples records in the partition at the rate of 2^-sampleRateInvPow2.
Link copied to clipboard
Tries to acquire resources for JdbcPartitionsCreator.
Link copied to clipboard
open fun tryAcquireResourcesForReader(resourceTypes: List<ResourceType>): Map<ResourceType, JdbcPartitionReader.AcquiredResource>?
Tries to acquire resources for JdbcPartitionReader.