T - type of the written elements.@FunctionalInterface public static interface KeyGroupPartitioner.ElementWriterFunction<T>
DataOutputView.| 限定符和类型 | 方法和说明 |
|---|---|
void |
writeElement(T element,
org.apache.flink.core.memory.DataOutputView dov)
This method defines how to write a single element to the output.
|
void writeElement(@Nonnull T element, @Nonnull org.apache.flink.core.memory.DataOutputView dov) throws IOException
element - the element to be written.dov - the output view to write the element.IOException - on write-related problems.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.