Class BinaryHashPartitioner
java.lang.Object
org.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
org.apache.flink.table.runtime.partitioner.BinaryHashPartitioner
- All Implemented Interfaces:
Serializable,org.apache.flink.runtime.io.network.api.writer.ChannelSelector<org.apache.flink.runtime.plugable.SerializationDelegate<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>>
public class BinaryHashPartitioner
extends org.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
Hash partitioner for
BinaryRowData.- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.streaming.runtime.partitioner.StreamPartitioner
numberOfChannels -
Constructor Summary
ConstructorsConstructorDescriptionBinaryHashPartitioner(GeneratedHashFunction genHashFunc, String[] hashFieldNames) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>copy()booleanorg.apache.flink.runtime.io.network.api.writer.SubtaskStateMapperinthashCode()booleanintselectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>> record) toString()Methods inherited from class org.apache.flink.streaming.runtime.partitioner.StreamPartitioner
disableUnalignedCheckpoints, getUpstreamSubtaskStateMapper, isBroadcast, isSupportsUnalignedCheckpoint, setup
-
Constructor Details
-
BinaryHashPartitioner
-
-
Method Details
-
copy
public org.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData> copy()- Specified by:
copyin classorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
-
selectChannel
public int selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>> record) -
getDownstreamSubtaskStateMapper
public org.apache.flink.runtime.io.network.api.writer.SubtaskStateMapper getDownstreamSubtaskStateMapper()- Specified by:
getDownstreamSubtaskStateMapperin classorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
-
isPointwise
public boolean isPointwise()- Specified by:
isPointwisein classorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
-
equals
- Overrides:
equalsin classorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
-
toString
-