public abstract class Serializer<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<String,Serializer<?>> |
ALL |
| Modifier | Constructor and Description |
|---|---|
protected |
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
static Serializer<?> |
find(String name) |
String |
getName() |
abstract T |
getValue() |
abstract byte[] |
read(ResultSet rs,
int ordinal) |
abstract void |
set(PreparedStatement ps,
int ordinal) |
public static Map<String,Serializer<?>> ALL
public static Serializer<?> find(String name)
public String getName()
public abstract T getValue()
public abstract byte[] read(ResultSet rs, int ordinal) throws SQLException
SQLExceptionpublic abstract void set(PreparedStatement ps, int ordinal) throws SQLException
SQLExceptionCopyright © 2024. All rights reserved.