Class SqlToCqlTypeConverter.TimestampConverter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date convertInternal​(java.lang.Object object)
      Returns a Date representing the number of milliseconds since the standard base time known as the epoch (January 1 1970 at 00:00:00 GMT), as specified by the documentation.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TimestampConverter

        public TimestampConverter()
    • Method Detail

      • convertInternal

        public java.util.Date convertInternal​(java.lang.Object object)
        Returns a Date representing the number of milliseconds since the standard base time known as the epoch (January 1 1970 at 00:00:00 GMT), as specified by the documentation.
        Parameters:
        object - the input object to convert
        Returns:
        the Date
        Throws:
        java.lang.RuntimeException - when the object cannot be converted to timestamp
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object