Package org.apache.flink.connector.base.source.hybrid
package org.apache.flink.connector.base.source.hybrid
-
ClassDescriptionHybridSource<T>Hybrid source that switches underlying sources based on configured source chain.HybridSource.HybridSourceBuilder<T,
EnumT extends org.apache.flink.api.connector.source.SplitEnumerator> Builder for HybridSource.HybridSource.SourceFactory<T,SourceT extends org.apache.flink.api.connector.source.Source<T, ?, ?>, FromEnumT extends org.apache.flink.api.connector.source.SplitEnumerator> Factory for underlying sources ofHybridSource.Context provided to source factory.The state of hybrid source enumerator.TheSerializerfor the enumerator state.Hybrid source reader that delegates to the actual source reader.Source split that wraps the actual split type.Wraps the actual split enumerators and facilitates source switching.Serializes splits by delegating to the source-indexed underlying split serializer.A source event sent from the HybridSourceReader to the enumerator to indicate that the current reader has finished and splits for the next reader can be sent.Event sent fromHybridSourceSplitEnumeratortoHybridSourceReaderto switch to the indicated reader.