Class ShadedImmutableListSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Object>>
net.sansa_stack.query.spark.ontop.kryo.ShadedImmutableListSerializer
public class ShadedImmutableListSerializer
extends com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Object>>
A kryo
Serializer for guava-libraries ImmutableList.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionit.unibz.inf.ontop.com.google.common.collect.ImmutableList<Object>read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Object>> type) static voidregisterSerializers(com.esotericsoftware.kryo.Kryo kryo) Creates a newShadedImmutableListSerializerand registers its serializer for the several ImmutableList related classes.voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Object> object) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
ShadedImmutableListSerializer
public ShadedImmutableListSerializer()
-
-
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.ImmutableList<Object> object) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Object>>
-
read
public it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Object> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Object>> type) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Object>>
-
registerSerializers
public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo) Creates a newShadedImmutableListSerializerand registers its serializer for the several ImmutableList related classes.- Parameters:
kryo- theKryoinstance to set the serializer on
-