| 程序包 | 说明 |
|---|---|
| cn.sylinx.hbatis.type |
Type handlers.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static JdbcType |
JdbcType.forCode(int code) |
static JdbcType |
JdbcType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static JdbcType[] |
JdbcType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T> TypeHandler<T> |
TypeHandlerRegistry.getTypeHandler(Class<T> type,
JdbcType jdbcType) |
TypeHandler<?> |
TypeHandlerRegistry.getTypeHandler(JdbcType jdbcType) |
<T> TypeHandler<T> |
TypeHandlerRegistry.getTypeHandler(TypeReference<T> javaTypeReference,
JdbcType jdbcType) |
boolean |
TypeHandlerRegistry.hasTypeHandler(Class<?> javaType,
JdbcType jdbcType) |
boolean |
TypeHandlerRegistry.hasTypeHandler(TypeReference<?> javaTypeReference,
JdbcType jdbcType) |
void |
TypeHandlerRegistry.register(Class<?> javaTypeClass,
JdbcType jdbcType,
Class<?> typeHandlerClass) |
<T> void |
TypeHandlerRegistry.register(Class<T> type,
JdbcType jdbcType,
TypeHandler<? extends T> handler) |
void |
TypeHandlerRegistry.register(JdbcType jdbcType,
TypeHandler<?> handler) |
void |
BigDecimalTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
BigDecimal parameter,
JdbcType jdbcType) |
void |
BigIntegerTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
BigInteger parameter,
JdbcType jdbcType) |
void |
BooleanTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Boolean parameter,
JdbcType jdbcType) |
void |
ByteArrayTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
byte[] parameter,
JdbcType jdbcType) |
void |
BlobTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
byte[] parameter,
JdbcType jdbcType) |
void |
BlobByteObjectArrayTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Byte[] parameter,
JdbcType jdbcType) |
void |
ByteObjectArrayTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Byte[] parameter,
JdbcType jdbcType) |
void |
ByteTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Byte parameter,
JdbcType jdbcType) |
void |
CharacterTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Character parameter,
JdbcType jdbcType) |
void |
DateOnlyTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Date parameter,
JdbcType jdbcType) |
void |
SqlDateTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Date parameter,
JdbcType jdbcType) |
void |
DateTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Date parameter,
JdbcType jdbcType) |
void |
TimeOnlyTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Date parameter,
JdbcType jdbcType) |
void |
DoubleTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Double parameter,
JdbcType jdbcType) |
void |
EnumTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
E parameter,
JdbcType jdbcType) |
void |
EnumOrdinalTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
E parameter,
JdbcType jdbcType) |
void |
FloatTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Float parameter,
JdbcType jdbcType) |
void |
BlobInputStreamTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
InputStream parameter,
JdbcType jdbcType)
Set an
InputStream into PreparedStatement. |
void |
InstantTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.Instant parameter,
JdbcType jdbcType) |
void |
IntegerTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Integer parameter,
JdbcType jdbcType) |
void |
JapaneseDateTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.chrono.JapaneseDate parameter,
JdbcType jdbcType) |
void |
LocalDateTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.LocalDate parameter,
JdbcType jdbcType) |
void |
LocalDateTimeTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.LocalDateTime parameter,
JdbcType jdbcType) |
void |
LocalTimeTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.LocalTime parameter,
JdbcType jdbcType) |
void |
LongTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Long parameter,
JdbcType jdbcType) |
void |
MonthTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.Month month,
JdbcType type) |
void |
ArrayTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Object parameter,
JdbcType jdbcType) |
void |
ObjectTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Object parameter,
JdbcType jdbcType) |
void |
UnknownTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Object parameter,
JdbcType jdbcType) |
void |
OffsetDateTimeTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.OffsetDateTime parameter,
JdbcType jdbcType) |
void |
OffsetTimeTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.OffsetTime parameter,
JdbcType jdbcType) |
void |
ClobReaderTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Reader parameter,
JdbcType jdbcType)
Set a
Reader into PreparedStatement. |
void |
ShortTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Short parameter,
JdbcType jdbcType) |
void |
ClobTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
String parameter,
JdbcType jdbcType) |
void |
NClobTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
String parameter,
JdbcType jdbcType) |
void |
StringTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
String parameter,
JdbcType jdbcType) |
void |
NStringTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
String parameter,
JdbcType jdbcType) |
void |
SqlTimeTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Time parameter,
JdbcType jdbcType) |
void |
SqlTimestampTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Timestamp parameter,
JdbcType jdbcType) |
abstract void |
BaseTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
T parameter,
JdbcType jdbcType) |
void |
YearTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.Year year,
JdbcType type) |
void |
YearMonthTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.YearMonth yearMonth,
JdbcType jt) |
void |
ZonedDateTimeTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
java.time.ZonedDateTime parameter,
JdbcType jdbcType) |
void |
TypeHandler.setParameter(PreparedStatement ps,
int i,
T parameter,
JdbcType jdbcType) |
void |
BaseTypeHandler.setParameter(PreparedStatement ps,
int i,
T parameter,
JdbcType jdbcType) |
Copyright © 2019. All rights reserved.