public abstract class CdcFixedBucketChannelComputerBase<T> extends Object implements ChannelComputer<T>
ChannelComputer
for distributing CDC records into writers for fixed-bucket mode tables.Modifier and Type | Field and Description |
---|---|
protected TableSchema |
schema |
Constructor and Description |
---|
CdcFixedBucketChannelComputerBase(TableSchema schema) |
Modifier and Type | Method and Description |
---|---|
int |
channel(T record) |
protected abstract KeyAndBucketExtractor<T> |
createExtractor() |
void |
setup(int numChannels) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
select, select, transform
protected final TableSchema schema
public CdcFixedBucketChannelComputerBase(TableSchema schema)
public void setup(int numChannels)
setup
in interface ChannelComputer<T>
protected abstract KeyAndBucketExtractor<T> createExtractor()
public int channel(T record)
channel
in interface ChannelComputer<T>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.