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 forBinaryRowData
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BinaryHashPartitioner(GeneratedHashFunction genHashFunc, String[] hashFieldNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
copy()
boolean
equals(Object o)
org.apache.flink.runtime.io.network.api.writer.SubtaskStateMapper
getDownstreamSubtaskStateMapper()
int
hashCode()
boolean
isPointwise()
int
selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>> record)
String
toString()
-
-
-
Constructor Detail
-
BinaryHashPartitioner
public BinaryHashPartitioner(GeneratedHashFunction genHashFunc, String[] hashFieldNames)
-
-
Method Detail
-
copy
public org.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData> copy()
- Specified by:
copy
in 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:
getDownstreamSubtaskStateMapper
in classorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
-
isPointwise
public boolean isPointwise()
- Specified by:
isPointwise
in classorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.apache.flink.streaming.runtime.partitioner.StreamPartitioner<org.apache.flink.table.data.RowData>
-
-