| Package | Description |
|---|---|
| org.bridje.sql | |
| org.bridje.sql.impl |
| Modifier and Type | Field and Description |
|---|---|
static SQLType<Boolean,Boolean> |
SQLType.BOOLEAN
A boolean SQL type.
|
static SQLType<Character,Character> |
SQLType.CHAR
A char SQL type.
|
static SQLType<Integer,Integer> |
SQLType.INTEGER
An integer SQL type.
|
static SQLType<Long,Long> |
SQLType.LONG
A long SQL type.
|
static SQLType<Short,Short> |
SQLType.SHORT
A short SQL type.
|
static SQLType<String,String> |
SQLType.STRING
An string SQL type.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,E> SQLType<T,E> |
SQL.buildType(Class<T> javaType,
Class<E> javaReadType,
JDBCType jdbcType,
int length,
int precision,
SQLValueParser<T,E> parser,
SQLValueWriter<E,T> writer)
Builds a new SQL type.
|
static <T,E> SQLType<T,E> |
SQL.buildType(Class<T> javaType,
Class<E> javaReadType,
JDBCType jdbcType,
int length,
SQLValueParser<T,E> parser,
SQLValueWriter<E,T> writer)
Builds a new SQL type.
|
static <T,E> SQLType<T,E> |
SQL.buildType(Class<T> javaType,
Class<E> javaReadType,
JDBCType jdbcType,
SQLValueParser<T,E> parser,
SQLValueWriter<E,T> writer)
Builds a new SQL type.
|
static <T> SQLType<T,T> |
SQL.buildType(Class<T> javaType,
JDBCType jdbcType)
Builds a new SQL type.
|
static <T> SQLType<T,T> |
SQL.buildType(Class<T> javaType,
JDBCType jdbcType,
int length)
Builds a new SQL type.
|
static <T> SQLType<T,T> |
SQL.buildType(Class<T> javaType,
JDBCType jdbcType,
int length,
int precision)
Builds a new SQL type.
|
SQLType<T,E> |
Expression.getSQLType()
The SQL type for this expression.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,E> NumberColumn<T,E> |
SQL.buildAiColumn(String name,
SQLType<T,E> type,
boolean allowNull)
Create a new SQL column that can be use for creating a SQL table.
|
static <T,E> BooleanColumn<T,E> |
SQL.buildBooleanColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue)
Create a new SQL column that can be use for creating a SQL table.
|
static <T,E> Column<T,E> |
SQL.buildColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue)
Create a new SQL column that can be use for creating a SQL table.
|
static <T,E> Column<T,E> |
SQL.buildColumn(String name,
Table table,
SQLType<T,E> type,
boolean allowNull,
T defValue)
Create a new SQL column that can be use for creating a SQL table.
|
static <T,E> DateColumn<T,E> |
SQL.buildDateColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue)
Create a new SQL column that can be use for creating a SQL table.
|
static <T,E> NumberColumn<T,E> |
SQL.buildNumberColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue)
Create a new SQL column that can be use for creating a SQL table.
|
static <T,E> StringColumn<T,E> |
SQL.buildStringColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue)
Create a new SQL column that can be use for creating a SQL table.
|
<T,E> T |
SQLResultSet.get(int column,
SQLType<T,E> type)
Gets the value for the given column.
|
<T,E> T |
SQLResultSet.get(int column,
SQLType<T,E> type,
SQLValueParser<T,E> parser)
Gets the value for the given column.
|
static <T,E> Expression<T,E> |
SQL.param(SQLType<T,E> type)
Creates a new param.
|
| Modifier and Type | Method and Description |
|---|---|
<T,E> SQLType<T,E> |
SQLFactory.buildType(Class<T> javaType,
Class<E> javaReadType,
JDBCType jdbcType,
int length,
int precision,
SQLValueParser<T,E> parser,
SQLValueWriter<E,T> writer) |
<T,E> SQLType<T,E> |
SQLFactory.buildType(Class<T> javaType,
Class<E> javaReadType,
JDBCType jdbcType,
int length,
SQLValueParser<T,E> parser,
SQLValueWriter<E,T> writer) |
<T,E> SQLType<T,E> |
SQLFactory.buildType(Class<T> javaType,
Class<E> javaReadType,
JDBCType jdbcType,
SQLValueParser<T,E> parser,
SQLValueWriter<E,T> writer) |
| Modifier and Type | Method and Description |
|---|---|
<T,E> NumberColumn<T,E> |
SQLFactory.buildAiColumn(String name,
SQLType<T,E> type,
boolean allowNull) |
<T,E> BooleanColumn<T,E> |
SQLFactory.buildBooleanColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue) |
<T,E> Column<T,E> |
SQLFactory.buildColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue) |
<T,E> Column<T,E> |
SQLFactory.buildColumn(String name,
Table table,
SQLType<T,E> type,
boolean allowNull,
T defValue) |
<T,E> DateColumn<T,E> |
SQLFactory.buildDateColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue) |
<T,E> NumberColumn<T,E> |
SQLFactory.buildNumberColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue) |
<T,E> StringColumn<T,E> |
SQLFactory.buildStringColumn(String name,
SQLType<T,E> type,
boolean allowNull,
T defValue) |
<T,E> Expression<T,E> |
SQLFactory.param(SQLType<T,E> cls) |
Copyright © 2015–2018 Bridje Framework. All rights reserved.