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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<R,C,V>
    read(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 void
    registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
    Creates a new ShadedImmutableTableSerializer and registers its serializer.
    void
    write(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, writeTable

    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

    • ShadedImmutableTableSerializer

      public ShadedImmutableTableSerializer()
  • 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.ImmutableTable<R,C,V> immutableTable)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<R,C,V>>
    • read

      public it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<R,C,V> read(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)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<R,C,V>>
    • registerSerializers

      public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
      Creates a new ShadedImmutableTableSerializer and registers its serializer.
      Parameters:
      kryo - the Kryo instance to set the serializer on