Class ShadedImmutableTableSerializer<R,C,V>
java.lang.Object
com.esotericsoftware.kryo.Serializer<T>
net.sansa_stack.query.spark.ontop.kryo.ShadedTableSerializerBase<R,C,V,it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<R,C,V>>
net.sansa_stack.query.spark.ontop.kryo.ShadedImmutableTableSerializer<R,C,V>
public class ShadedImmutableTableSerializer<R,C,V>
extends ShadedTableSerializerBase<R,C,V,it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<R,C,V>>
A kryo
Serializer for guava-libraries ImmutableTable.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<R, C, V>> type) static voidregisterSerializers(com.esotericsoftware.kryo.Kryo kryo) Creates a newShadedImmutableTableSerializerand registers its serializer.voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<R, C, V> immutableTable) Methods inherited from class net.sansa_stack.query.spark.ontop.kryo.ShadedTableSerializerBase
readTable, readTable, writeTableMethods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
ShadedImmutableTableSerializer
public ShadedImmutableTableSerializer()
-
-
Method Details
-
write
-
read
-
registerSerializers
public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo) Creates a newShadedImmutableTableSerializerand registers its serializer.- Parameters:
kryo- theKryoinstance to set the serializer on
-