- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
- All Known Subinterfaces:
ObjectFactory<T>
- All Known Implementing Classes:
AutoObjectFactory
,ObjectFactories.Object
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates instances of objects of the generics type from a result set.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptioncreateObject
(ResultSet result) Creates one object from the current values in the ResultSet.default boolean
Gets if this object factory can returnnull
fromcreateObject(java.sql.ResultSet)
.
-
Method Details
-
createObject
Creates one object from the current values in the ResultSet.- Throws:
SQLException
Ex
-
isNullable
default boolean isNullable()Gets if this object factory can returnnull
fromcreateObject(java.sql.ResultSet)
.Note: This is used to enable the
Spliterator.NONNULL
on streams.- Returns:
true
by default
-