Package io.trino.plugin.jdbc
Interface ObjectWriteFunction
-
- All Superinterfaces:
WriteFunction
public interface ObjectWriteFunction extends WriteFunction
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceObjectWriteFunction.ObjectWriteFunctionImplementation<T>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getJavaType()static <T> ObjectWriteFunctionof(Class<T> javaType, ObjectWriteFunction.ObjectWriteFunctionImplementation<T> implementation)voidset(PreparedStatement statement, int index, Object value)-
Methods inherited from interface io.trino.plugin.jdbc.WriteFunction
getBindExpression, setNull
-
-
-
-
Method Detail
-
getJavaType
Class<?> getJavaType()
- Specified by:
getJavaTypein interfaceWriteFunction
-
set
void set(PreparedStatement statement, int index, Object value) throws SQLException
- Throws:
SQLException
-
of
static <T> ObjectWriteFunction of(Class<T> javaType, ObjectWriteFunction.ObjectWriteFunctionImplementation<T> implementation)
-
-