Class FlinkStateInternals.FlinkStateNamespaceKeySerializer

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    FlinkStateInternals<K>

    public static class FlinkStateInternals.FlinkStateNamespaceKeySerializer
    extends org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FlinkStateNamespaceKeySerializer​(org.apache.beam.sdk.coders.Coder<? extends org.apache.beam.sdk.transforms.windowing.BoundedWindow> coder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.beam.runners.core.StateNamespace copy​(org.apache.beam.runners.core.StateNamespace from)  
      org.apache.beam.runners.core.StateNamespace copy​(org.apache.beam.runners.core.StateNamespace from, org.apache.beam.runners.core.StateNamespace reuse)  
      void copy​(org.apache.flink.core.memory.DataInputView source, org.apache.flink.core.memory.DataOutputView target)  
      org.apache.beam.runners.core.StateNamespace createInstance()  
      org.apache.beam.runners.core.StateNamespace deserialize​(org.apache.beam.runners.core.StateNamespace reuse, org.apache.flink.core.memory.DataInputView source)  
      org.apache.beam.runners.core.StateNamespace deserialize​(org.apache.flink.core.memory.DataInputView source)  
      org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace> duplicate()  
      boolean equals​(java.lang.Object obj)  
      org.apache.beam.sdk.coders.Coder<? extends org.apache.beam.sdk.transforms.windowing.BoundedWindow> getCoder()  
      int getLength()  
      int hashCode()  
      boolean isImmutableType()  
      void serialize​(org.apache.beam.runners.core.StateNamespace record, org.apache.flink.core.memory.DataOutputView target)  
      org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.beam.runners.core.StateNamespace> snapshotConfiguration()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FlinkStateNamespaceKeySerializer

        public FlinkStateNamespaceKeySerializer​(org.apache.beam.sdk.coders.Coder<? extends org.apache.beam.sdk.transforms.windowing.BoundedWindow> coder)
    • Method Detail

      • getCoder

        public org.apache.beam.sdk.coders.Coder<? extends org.apache.beam.sdk.transforms.windowing.BoundedWindow> getCoder()
      • isImmutableType

        public boolean isImmutableType()
        Specified by:
        isImmutableType in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace>
      • duplicate

        public org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace> duplicate()
        Specified by:
        duplicate in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace>
      • createInstance

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

        public org.apache.beam.runners.core.StateNamespace copy​(org.apache.beam.runners.core.StateNamespace from)
        Specified by:
        copy in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace>
      • copy

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

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

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

        public org.apache.beam.runners.core.StateNamespace deserialize​(org.apache.flink.core.memory.DataInputView source)
                                                                throws java.io.IOException
        Specified by:
        deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace>
        Throws:
        java.io.IOException
      • deserialize

        public org.apache.beam.runners.core.StateNamespace deserialize​(org.apache.beam.runners.core.StateNamespace reuse,
                                                                       org.apache.flink.core.memory.DataInputView source)
                                                                throws java.io.IOException
        Specified by:
        deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace>
        Throws:
        java.io.IOException
      • copy

        public void copy​(org.apache.flink.core.memory.DataInputView source,
                         org.apache.flink.core.memory.DataOutputView target)
                  throws java.io.IOException
        Specified by:
        copy in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace>
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.beam.runners.core.StateNamespace>
      • snapshotConfiguration

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