Package | Description |
---|---|
org.sql2o |
Provides the main api for sql2o.
|
org.sql2o.converters |
Provides all converters used by sql2o.
|
org.sql2o.converters.joda | |
org.sql2o.quirks |
Modifier and Type | Method and Description |
---|---|
<V> V |
Query.executeScalar(Converter<V> converter) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDateConverter<E extends Date>
Used by sql2o to convert a value from the database into a
Date . |
class |
BigDecimalConverter
Used by sql2o to convert a value from the database into a
BigDecimal . |
class |
BooleanConverter
Created with IntelliJ IDEA.
|
class |
ByteArrayConverter
User: lars
Date: 6/13/13
Time: 11:36 PM
|
class |
ByteConverter
Used by sql2o to convert a value from the database into a
Byte . |
class |
DateConverter
Used by sql2o to convert a value from the database into a
Date . |
class |
DoubleConverter
Used by sql2o to convert a value from the database into a
Double . |
class |
FloatConverter
Used by sql2o to convert a value from the database into a
Float . |
class |
InputStreamConverter
Created with IntelliJ IDEA.
|
class |
IntegerConverter
Used by sql2o to convert a value from the database into an
Integer . |
class |
LongConverter
Used by sql2o to convert a value from the database into a
Long . |
class |
NumberConverter<V extends Number>
Base class for numeric converters.
|
class |
ShortConverter
Used by sql2o to convert a value from the database into a
Short . |
class |
StringConverter
Used by sql2o to convert a value from the database into a
String . |
class |
UUIDConverter
Used by sql2o to convert a value from the database into a
UUID . |
Modifier and Type | Method and Description |
---|---|
static Converter |
Convert.getConverter(Class clazz)
Deprecated.
|
static <E> Converter<E> |
Convert.getConverterIfExists(Class<E> clazz) |
<E extends Enum> |
EnumConverterFactory.newConverter(Class<E> enumClass) |
<E extends Enum> |
DefaultEnumConverterFactory.newConverter(Class<E> enumType) |
static <E> Converter<E> |
Convert.throwIfNull(Class<E> clazz,
Converter<E> converter) |
Modifier and Type | Method and Description |
---|---|
static void |
Convert.registerConverter(Class clazz,
Converter converter)
Deprecated.
|
static <E> Converter<E> |
Convert.throwIfNull(Class<E> clazz,
Converter<E> converter) |
Modifier and Type | Method and Description |
---|---|
void |
ConvertersProvider.fill(Map<Class<?>,Converter<?>> mapToFill) |
Modifier and Type | Class and Description |
---|---|
class |
DateTimeConverter
Used by sql2o to convert a value from the database into a
DateTime instance. |
class |
LocalTimeConverter
Created by lars on 12/18/13.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Class,Converter> |
NoQuirks.converters |
Modifier and Type | Method and Description |
---|---|
<E> Converter<E> |
NoQuirks.converterOf(Class<E> ofClass) |
<E> Converter<E> |
Quirks.converterOf(Class<E> ofClass) |
Constructor and Description |
---|
Db2Quirks(Map<Class,Converter> converters) |
NoQuirks(Map<Class,Converter> converters) |
OracleQuirks(Map<Class,Converter> converters) |
PostgresQuirks(Map<Class,Converter> converters) |
Copyright © 2015. All rights reserved.