org.apache.cassandra.cql.jdbc
Class JdbcDate

java.lang.Object
  extended by org.apache.cassandra.cql.jdbc.AbstractJdbcType<java.util.Date>
      extended by org.apache.cassandra.cql.jdbc.JdbcDate

public class JdbcDate
extends AbstractJdbcType<java.util.Date>


Field Summary
static JdbcDate instance
           
static java.lang.String[] iso8601Patterns
           
 
Method Summary
 java.util.Date compose(java.nio.ByteBuffer bytes)
           
 int getJdbcType()
           
 int getPrecision(java.util.Date obj)
           
 int getScale(java.util.Date obj)
           
 java.lang.String getString(java.nio.ByteBuffer bytes)
           
 java.lang.Class<java.util.Date> getType()
           
 boolean isCaseSensitive()
           
 boolean isCurrency()
           
 boolean isSigned()
           
 boolean needsQuotes()
           
 java.lang.String toString(java.util.Date obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iso8601Patterns

public static final java.lang.String[] iso8601Patterns

instance

public static final JdbcDate instance
Method Detail

isCaseSensitive

public boolean isCaseSensitive()
Specified by:
isCaseSensitive in class AbstractJdbcType<java.util.Date>

getScale

public int getScale(java.util.Date obj)
Specified by:
getScale in class AbstractJdbcType<java.util.Date>

getPrecision

public int getPrecision(java.util.Date obj)
Specified by:
getPrecision in class AbstractJdbcType<java.util.Date>

isCurrency

public boolean isCurrency()
Specified by:
isCurrency in class AbstractJdbcType<java.util.Date>

isSigned

public boolean isSigned()
Specified by:
isSigned in class AbstractJdbcType<java.util.Date>

toString

public java.lang.String toString(java.util.Date obj)
Specified by:
toString in class AbstractJdbcType<java.util.Date>

needsQuotes

public boolean needsQuotes()
Specified by:
needsQuotes in class AbstractJdbcType<java.util.Date>

getString

public java.lang.String getString(java.nio.ByteBuffer bytes)
Specified by:
getString in class AbstractJdbcType<java.util.Date>

getType

public java.lang.Class<java.util.Date> getType()
Specified by:
getType in class AbstractJdbcType<java.util.Date>

getJdbcType

public int getJdbcType()
Specified by:
getJdbcType in class AbstractJdbcType<java.util.Date>

compose

public java.util.Date compose(java.nio.ByteBuffer bytes)
Specified by:
compose in class AbstractJdbcType<java.util.Date>


Copyright © 2011 The Apache Software Foundation