public class SnapshotHintChannelComputer extends Object implements ChannelComputer<CopyFileInfo>
ChannelComputer
for distributing CopyFileInfo
records into SnapshotHintOperator
for recreate snapshot hints.
CopyFileInfo
s are distributed by target table name, so the creation of snapshot hints
of each table is handled by only one parallelism.
Constructor and Description |
---|
SnapshotHintChannelComputer() |
Modifier and Type | Method and Description |
---|---|
int |
channel(CopyFileInfo record) |
void |
setup(int numChannels) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
select, select, transform
public void setup(int numChannels)
setup
in interface ChannelComputer<CopyFileInfo>
public int channel(CopyFileInfo record)
channel
in interface ChannelComputer<CopyFileInfo>
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.