Package io.trino.plugin.jdbc
Interface ObjectWriteFunction
- All Superinterfaces:
WriteFunction
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionClass<?>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 Details
-
getJavaType
Class<?> getJavaType()- Specified by:
getJavaTypein interfaceWriteFunction
-
set
- Throws:
SQLException
-
of
static <T> ObjectWriteFunction of(Class<T> javaType, ObjectWriteFunction.ObjectWriteFunctionImplementation<T> implementation)
-