com.twitter.chill.java
Class TimestampSerializer

java.lang.Object
  extended by com.esotericsoftware.kryo.Serializer<java.sql.Timestamp>
      extended by com.twitter.chill.java.TimestampSerializer

public class TimestampSerializer
extends com.esotericsoftware.kryo.Serializer<java.sql.Timestamp>


Constructor Summary
TimestampSerializer()
           
 
Method Summary
 java.sql.Timestamp read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<java.sql.Timestamp> timestampClass)
           
static IKryoRegistrar registrar()
           
 void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, java.sql.Timestamp timestamp)
           
 
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 Detail

TimestampSerializer

public TimestampSerializer()
Method Detail

registrar

public static IKryoRegistrar registrar()

write

public void write(com.esotericsoftware.kryo.Kryo kryo,
                  com.esotericsoftware.kryo.io.Output output,
                  java.sql.Timestamp timestamp)
Specified by:
write in class com.esotericsoftware.kryo.Serializer<java.sql.Timestamp>

read

public java.sql.Timestamp read(com.esotericsoftware.kryo.Kryo kryo,
                               com.esotericsoftware.kryo.io.Input input,
                               java.lang.Class<java.sql.Timestamp> timestampClass)
Specified by:
read in class com.esotericsoftware.kryo.Serializer<java.sql.Timestamp>