public class RowWithBucketChannelComputer extends Object implements ChannelComputer<org.apache.flink.api.java.tuple.Tuple2<InternalRow,Integer>>
RowData
with bucket.Constructor and Description |
---|
RowWithBucketChannelComputer(TableSchema schema) |
Modifier and Type | Method and Description |
---|---|
int |
channel(org.apache.flink.api.java.tuple.Tuple2<InternalRow,Integer> record) |
void |
setup(int numChannels) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
select, select, transform
public RowWithBucketChannelComputer(TableSchema schema)
public void setup(int numChannels)
setup
in interface ChannelComputer<org.apache.flink.api.java.tuple.Tuple2<InternalRow,Integer>>
public int channel(org.apache.flink.api.java.tuple.Tuple2<InternalRow,Integer> record)
channel
in interface ChannelComputer<org.apache.flink.api.java.tuple.Tuple2<InternalRow,Integer>>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.