T - The type of value in the StreamRecord@Internal public final class MultiplexingStreamRecordSerializer<T> extends org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>
StreamRecord and Watermark. This does not behave like a normal
TypeSerializer, instead, this is only used at the stream task/operator level for
transmitting StreamRecords and Watermarks.| Constructor and Description |
|---|
MultiplexingStreamRecordSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEqual(Object obj) |
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
StreamElement |
copy(StreamElement from) |
StreamElement |
copy(StreamElement from,
StreamElement reuse) |
StreamRecord<T> |
createInstance() |
StreamElement |
deserialize(org.apache.flink.core.memory.DataInputView source) |
StreamElement |
deserialize(StreamElement reuse,
org.apache.flink.core.memory.DataInputView source) |
MultiplexingStreamRecordSerializer<T> |
duplicate() |
boolean |
equals(Object obj) |
org.apache.flink.api.common.typeutils.TypeSerializer<T> |
getContainedTypeSerializer() |
int |
getLength() |
int |
hashCode() |
boolean |
isImmutableType() |
void |
serialize(StreamElement value,
org.apache.flink.core.memory.DataOutputView target) |
public MultiplexingStreamRecordSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)
public org.apache.flink.api.common.typeutils.TypeSerializer<T> getContainedTypeSerializer()
public boolean isImmutableType()
isImmutableType in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>public MultiplexingStreamRecordSerializer<T> duplicate()
duplicate in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>public StreamRecord<T> createInstance()
createInstance in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>public int getLength()
getLength in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>public StreamElement copy(StreamElement from)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>public StreamElement copy(StreamElement from, StreamElement reuse)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>public void copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target)
throws IOException
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>IOExceptionpublic void serialize(StreamElement value, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>IOExceptionpublic StreamElement deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>IOExceptionpublic StreamElement deserialize(StreamElement reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>IOExceptionpublic boolean equals(Object obj)
equals in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>public boolean canEqual(Object obj)
canEqual in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>public int hashCode()
hashCode in class org.apache.flink.api.common.typeutils.TypeSerializer<StreamElement>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.