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 -
Method Summary
Modifier and TypeMethodDescriptionit.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 voidregisterSerializers(com.esotericsoftware.kryo.Kryo kryo) Creates a newShadedImmutableSortedSetSerializerand registers its serializer for the several ImmutableSortedSet related classes.voidwrite(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
-
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:
writein classcom.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:
readin classcom.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 newShadedImmutableSortedSetSerializerand registers its serializer for the several ImmutableSortedSet related classes.- Parameters:
kryo- theKryoinstance to set the serializer on
-