public interface SQLValueDeserializer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SQLValueDeserializer.ValueProcessor
Processor to process a value before actual deserialization.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValueProcessor(SQLValueDeserializer.ValueProcessor valueProcessor)
Add a deserialized value processor.
|
<T> T |
deserialize(SQLExecutionContext context,
com.holonplatform.core.TypedExpression<T> expression,
Object value)
Deserialize the
value associated to given expression, to obtain a value type which
matches the expression type. |
static SQLValueDeserializer |
getDefault()
Create the default
SQLValueDeserializer. |
<T> T deserialize(SQLExecutionContext context, com.holonplatform.core.TypedExpression<T> expression, Object value) throws SQLException
value associated to given expression, to obtain a value type which
matches the expression type.T - Expression typecontext - Execution contextexpression - Expression for which the deserialization is invokedvalue - Value to deserializeSQLException - If value cannot be deserialized using given expression typevoid addValueProcessor(SQLValueDeserializer.ValueProcessor valueProcessor)
valueProcessor - the value processor to add (not null)static SQLValueDeserializer getDefault()
SQLValueDeserializer.SQLValueDeserializerCopyright © 2019 The Holon Platform. All rights reserved.