Class CountWindow.Serializer
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.TypeSerializer<T>
-
- org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton<CountWindow>
-
- org.apache.flink.table.runtime.operators.window.CountWindow.Serializer
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CountWindow
public static class CountWindow.Serializer extends org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton<CountWindow>
The serializer used to write the CountWindow type.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCountWindow.Serializer.CountWindowSerializerSnapshotSerializer configuration snapshot for compatibility and format evolution.
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopy(org.apache.flink.core.memory.DataInputView source, org.apache.flink.core.memory.DataOutputView target)CountWindowcopy(CountWindow from)CountWindowcopy(CountWindow from, CountWindow reuse)CountWindowcreateInstance()CountWindowdeserialize(org.apache.flink.core.memory.DataInputView source)CountWindowdeserialize(CountWindow reuse, org.apache.flink.core.memory.DataInputView source)intgetLength()booleanisImmutableType()voidserialize(CountWindow record, org.apache.flink.core.memory.DataOutputView target)org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<CountWindow>snapshotConfiguration()
-
-
-
Method Detail
-
isImmutableType
public boolean isImmutableType()
- Specified by:
isImmutableTypein classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
-
createInstance
public CountWindow createInstance()
- Specified by:
createInstancein classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
-
copy
public CountWindow copy(CountWindow from)
- Specified by:
copyin classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
-
copy
public CountWindow copy(CountWindow from, CountWindow reuse)
- Specified by:
copyin classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
-
getLength
public int getLength()
- Specified by:
getLengthin classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
-
serialize
public void serialize(CountWindow record, org.apache.flink.core.memory.DataOutputView target) throws IOException
- Specified by:
serializein classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>- Throws:
IOException
-
deserialize
public CountWindow deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
- Specified by:
deserializein classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>- Throws:
IOException
-
deserialize
public CountWindow deserialize(CountWindow reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
- Specified by:
deserializein classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>- Throws:
IOException
-
copy
public void copy(org.apache.flink.core.memory.DataInputView source, org.apache.flink.core.memory.DataOutputView target) throws IOException- Specified by:
copyin classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>- Throws:
IOException
-
snapshotConfiguration
public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<CountWindow> snapshotConfiguration()
- Specified by:
snapshotConfigurationin classorg.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
-
-