org.apache.cassandra.cql.jdbc
Class JdbcFloat

java.lang.Object
  extended by org.apache.cassandra.cql.jdbc.AbstractJdbcType<java.lang.Float>
      extended by org.apache.cassandra.cql.jdbc.JdbcFloat

public class JdbcFloat
extends AbstractJdbcType<java.lang.Float>


Field Summary
static JdbcFloat instance
           
 
Method Summary
 java.lang.Float compose(java.nio.ByteBuffer bytes)
           
 int getJdbcType()
           
 int getPrecision(java.lang.Float obj)
           
 int getScale(java.lang.Float obj)
           
 java.lang.String getString(java.nio.ByteBuffer bytes)
           
 java.lang.Class<java.lang.Float> getType()
           
 boolean isCaseSensitive()
           
 boolean isCurrency()
           
 boolean isSigned()
           
 boolean needsQuotes()
           
 java.lang.String toString(java.lang.Float 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 JdbcFloat instance
Method Detail

isCaseSensitive

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

getScale

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

getPrecision

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

isCurrency

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

isSigned

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

toString

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

needsQuotes

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

getString

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

getType

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

getJdbcType

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

compose

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


Copyright © 2011 The Apache Software Foundation