Class SchemaSerializer

    • Field Detail

      • INSTANCE

        public static final SchemaSerializer INSTANCE
        Sharable instance of the TableIdSerializer.
    • Constructor Detail

      • SchemaSerializer

        public SchemaSerializer()
    • Method Detail

      • isImmutableType

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

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

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

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

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

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

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

        public Schema deserialize​(int version,
                                  org.apache.flink.core.memory.DataInputView source)
                           throws IOException
        Throws:
        IOException
      • deserialize

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

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