Class ShadedImmutableSortedSetSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object>>
net.sansa_stack.query.spark.ontop.kryo.ShadedImmutableSortedSetSerializer

public class ShadedImmutableSortedSetSerializer extends com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object>>
A kryo Serializer for guava-libraries ImmutableSortedSet.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object>
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object>> type)
     
    static void
    registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
    Creates a new ShadedImmutableSortedSetSerializer and registers its serializer for the several ImmutableSortedSet related classes.
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object> object)
     

    Methods inherited from class com.esotericsoftware.kryo.Serializer

    copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShadedImmutableSortedSetSerializer

      public ShadedImmutableSortedSetSerializer()
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object> object)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object>>
    • read

      public it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object>> type)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableSortedSet<Object>>
    • registerSerializers

      public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
      Creates a new ShadedImmutableSortedSetSerializer and registers its serializer for the several ImmutableSortedSet related classes.
      Parameters:
      kryo - the Kryo instance to set the serializer on