org.apache.spark.sql.types
Class TimestampType

Object
  extended by org.apache.spark.sql.types.DataType
      extended by org.apache.spark.sql.types.TimestampType

public class TimestampType
extends DataType

:: DeveloperApi :: The data type representing java.sql.Timestamp values. Please use the singleton DataTypes.TimestampType.


Method Summary
 scala.reflect.ClassTag<Object> classTag()
           
 int defaultSize()
          The default size of a value of the TimestampType is 12 bytes.
 Object ordering()
           
 scala.reflect.api.TypeTags.TypeTag<java.sql.Timestamp> tag()
           
 
Methods inherited from class org.apache.spark.sql.types.DataType
fromCaseClassString, fromJson, json, prettyJson, simpleString, typeName
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

tag

public scala.reflect.api.TypeTags.TypeTag<java.sql.Timestamp> tag()

ordering

public Object ordering()

defaultSize

public int defaultSize()
The default size of a value of the TimestampType is 12 bytes.

Specified by:
defaultSize in class DataType
Returns:
(undocumented)

classTag

public scala.reflect.ClassTag<Object> classTag()