public class SwitchSourceEvent extends Object implements SourceEvent
HybridSourceSplitEnumerator
to HybridSourceReader
to switch to
the indicated reader.Constructor and Description |
---|
SwitchSourceEvent(int sourceIndex,
Source source,
boolean finalSource)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFinalSource() |
Source |
source() |
int |
sourceIndex() |
String |
toString() |
public SwitchSourceEvent(int sourceIndex, Source source, boolean finalSource)
sourceIndex
- Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.