org.apache.cassandra.cql.jdbc
Class JdbcInt32

java.lang.Object
  extended by org.apache.cassandra.cql.jdbc.AbstractJdbcType<java.lang.Integer>
      extended by org.apache.cassandra.cql.jdbc.JdbcInt32

public class JdbcInt32
extends AbstractJdbcType<java.lang.Integer>


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

Field Detail

instance

public static final JdbcInt32 instance
Method Detail

isCaseSensitive

public boolean isCaseSensitive()
Specified by:
isCaseSensitive in class AbstractJdbcType<java.lang.Integer>

getScale

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

getPrecision

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

isCurrency

public boolean isCurrency()
Specified by:
isCurrency in class AbstractJdbcType<java.lang.Integer>

isSigned

public boolean isSigned()
Specified by:
isSigned in class AbstractJdbcType<java.lang.Integer>

toString

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

needsQuotes

public boolean needsQuotes()
Specified by:
needsQuotes in class AbstractJdbcType<java.lang.Integer>

getString

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

getType

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

getJdbcType

public int getJdbcType()
Specified by:
getJdbcType in class AbstractJdbcType<java.lang.Integer>

compose

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


Copyright © 2011 The Apache Software Foundation