Package io.trino.plugin.jdbc
Interface ObjectReadFunction
-
- All Superinterfaces:
ReadFunction
public interface ObjectReadFunction extends ReadFunction
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceObjectReadFunction.ObjectReadFunctionImplementation<T>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getJavaType()static <T> ObjectReadFunctionof(Class<T> javaType, ObjectReadFunction.ObjectReadFunctionImplementation<T> implementation)ObjectreadObject(ResultSet resultSet, int columnIndex)-
Methods inherited from interface io.trino.plugin.jdbc.ReadFunction
isNull
-
-
-
-
Method Detail
-
getJavaType
Class<?> getJavaType()
- Specified by:
getJavaTypein interfaceReadFunction
-
readObject
Object readObject(ResultSet resultSet, int columnIndex) throws SQLException
- Throws:
SQLException
-
of
static <T> ObjectReadFunction of(Class<T> javaType, ObjectReadFunction.ObjectReadFunctionImplementation<T> implementation)
-
-