Class EventId.EventIdSerializer
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.TypeSerializer<T>
-
- org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton<EventId>
-
- org.apache.flink.cep.nfa.sharedbuffer.EventId.EventIdSerializer
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- EventId
public static class EventId.EventIdSerializer extends org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton<EventId>
TypeSerializer
forEventId
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventId.EventIdSerializer.EventIdSerializerSnapshot
Serializer configuration snapshot for compatibility and format evolution.
-
Field Summary
Fields Modifier and Type Field Description static EventId.EventIdSerializer
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventId
copy(EventId from)
EventId
copy(EventId from, EventId reuse)
void
copy(org.apache.flink.core.memory.DataInputView source, org.apache.flink.core.memory.DataOutputView target)
EventId
createInstance()
EventId
deserialize(EventId reuse, org.apache.flink.core.memory.DataInputView source)
EventId
deserialize(org.apache.flink.core.memory.DataInputView source)
int
getLength()
boolean
isImmutableType()
void
serialize(EventId record, org.apache.flink.core.memory.DataOutputView target)
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<EventId>
snapshotConfiguration()
-
-
-
Field Detail
-
INSTANCE
public static final EventId.EventIdSerializer INSTANCE
-
-
Method Detail
-
isImmutableType
public boolean isImmutableType()
- Specified by:
isImmutableType
in classorg.apache.flink.api.common.typeutils.TypeSerializer<EventId>
-
createInstance
public EventId createInstance()
- Specified by:
createInstance
in classorg.apache.flink.api.common.typeutils.TypeSerializer<EventId>
-
copy
public EventId copy(EventId from)
- Specified by:
copy
in classorg.apache.flink.api.common.typeutils.TypeSerializer<EventId>
-
copy
public EventId copy(EventId from, EventId reuse)
- Specified by:
copy
in classorg.apache.flink.api.common.typeutils.TypeSerializer<EventId>
-
getLength
public int getLength()
- Specified by:
getLength
in classorg.apache.flink.api.common.typeutils.TypeSerializer<EventId>
-
serialize
public void serialize(EventId record, org.apache.flink.core.memory.DataOutputView target) throws IOException
- Specified by:
serialize
in classorg.apache.flink.api.common.typeutils.TypeSerializer<EventId>
- Throws:
IOException
-
deserialize
public EventId deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
- Specified by:
deserialize
in classorg.apache.flink.api.common.typeutils.TypeSerializer<EventId>
- Throws:
IOException
-
deserialize
public EventId deserialize(EventId reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
- Specified by:
deserialize
in classorg.apache.flink.api.common.typeutils.TypeSerializer<EventId>
- Throws:
IOException
-
copy
public void copy(org.apache.flink.core.memory.DataInputView source, org.apache.flink.core.memory.DataOutputView target) throws IOException
- Specified by:
copy
in classorg.apache.flink.api.common.typeutils.TypeSerializer<EventId>
- Throws:
IOException
-
-