org.apache.cassandra.db.marshal
Class AbstractUUIDType

java.lang.Object
  extended by org.apache.cassandra.db.marshal.AbstractType<java.util.UUID>
      extended by org.apache.cassandra.db.marshal.AbstractUUIDType
All Implemented Interfaces:
java.util.Comparator<java.nio.ByteBuffer>
Direct Known Subclasses:
LexicalUUIDType, TimeUUIDType, UUIDType

public abstract class AbstractUUIDType
extends AbstractType<java.util.UUID>


Field Summary
 
Fields inherited from class org.apache.cassandra.db.marshal.AbstractType
columnComparator, columnReverseComparator, indexComparator, indexReverseComparator, reverseComparator
 
Constructor Summary
AbstractUUIDType()
           
 
Method Summary
 int getJdbcType()
           
 int getPrecision(java.util.UUID obj)
           
 int getScale(java.util.UUID obj)
           
 java.lang.Class<java.util.UUID> getType()
          returns the class this AbstractType represents.
 boolean isCaseSensitive()
           
 boolean isCurrency()
           
 boolean isSigned()
           
 boolean needsQuotes()
           
 
Methods inherited from class org.apache.cassandra.db.marshal.AbstractType
compose, decompose, fromString, getColumnsString, getReverseComparator, getString, getString, isCommutative, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Constructor Detail

AbstractUUIDType

public AbstractUUIDType()
Method Detail

getType

public java.lang.Class<java.util.UUID> getType()
Description copied from class: AbstractType
returns the class this AbstractType represents.

Specified by:
getType in class AbstractType<java.util.UUID>

isSigned

public boolean isSigned()
Specified by:
isSigned in class AbstractType<java.util.UUID>

isCaseSensitive

public boolean isCaseSensitive()
Specified by:
isCaseSensitive in class AbstractType<java.util.UUID>

isCurrency

public boolean isCurrency()
Specified by:
isCurrency in class AbstractType<java.util.UUID>

getPrecision

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

getScale

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

getJdbcType

public int getJdbcType()
Specified by:
getJdbcType in class AbstractType<java.util.UUID>

needsQuotes

public boolean needsQuotes()
Specified by:
needsQuotes in class AbstractType<java.util.UUID>


Copyright © 2011 The Apache Software Foundation