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:
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • isImmutableType

      public boolean isImmutableType()
      Specified by:
      isImmutableType in class org.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
    • createInstance

      public CountWindow createInstance()
      Specified by:
      createInstance in class org.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
    • copy

      public CountWindow copy(CountWindow from)
      Specified by:
      copy in class org.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
    • copy

      public CountWindow copy(CountWindow from, CountWindow reuse)
      Specified by:
      copy in class org.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
    • getLength

      public int getLength()
      Specified by:
      getLength in class org.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
    • serialize

      public void serialize(CountWindow record, org.apache.flink.core.memory.DataOutputView target) throws IOException
      Specified by:
      serialize in class org.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
      Throws:
      IOException
    • deserialize

      public CountWindow deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
      Specified by:
      deserialize in class org.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:
      deserialize in class org.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:
      copy in class org.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>
      Throws:
      IOException
    • snapshotConfiguration

      public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<CountWindow> snapshotConfiguration()
      Specified by:
      snapshotConfiguration in class org.apache.flink.api.common.typeutils.TypeSerializer<CountWindow>