Uses of Interface
com.aoapps.dbc.ObjectFactory
-
Uses of ObjectFactory in com.aoapps.dbc
Modifier and TypeClassDescriptionclass
Creates instances of objects by using reflection and passing-in the parameters in the same order as the matching constructor.static class
Deprecated.Modifier and TypeFieldDescriptionstatic final ObjectFactory
<BigDecimal> ObjectFactories.BigDecimal
static final ObjectFactory
<Boolean> ObjectFactories.Boolean
static final ObjectFactory
<byte[]> ObjectFactories.ByteArray
static final ObjectFactory
<Date> ObjectFactories.Date
static final ObjectFactory
<Double> ObjectFactories.Double
static final ObjectFactory
<Float> ObjectFactories.Float
static final ObjectFactory
<Integer> ObjectFactories.Integer
static final ObjectFactory
<Long> ObjectFactories.Long
static final ObjectFactory
<Short> ObjectFactories.Short
static final ObjectFactory
<String> ObjectFactories.String
static final ObjectFactory
<Timestamp> ObjectFactories.Timestamp
Modifier and TypeMethodDescriptionstatic <T> ObjectFactory
<T> ObjectFactories.notNull
(ObjectFactory<T> objectFactory) Wraps an object factory, unless it is already not nullable.Modifier and TypeMethodDescriptiondefault <T,
C extends Collection<? super T>>
CDatabaseAccess.executeObjectCollectionQuery
(int isolationLevel, boolean readOnly, C collection, ObjectFactory<T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.default <T,
C extends Collection<? super T>>
CDatabaseAccess.executeObjectCollectionQuery
(C collection, ObjectFactory<T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.default <T,
C extends Collection<? super T>>
CDatabaseAccess.executeObjectCollectionUpdate
(C collection, ObjectFactory<T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.default <T> List
<T> DatabaseAccess.executeObjectListQuery
(int isolationLevel, boolean readOnly, ObjectFactory<T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.default <T> List
<T> DatabaseAccess.executeObjectListQuery
(ObjectFactory<T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.default <T> List
<T> DatabaseAccess.executeObjectListUpdate
(ObjectFactory<T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.default <T> T
DatabaseAccess.executeObjectQuery
(int isolationLevel, boolean readOnly, boolean rowRequired, ObjectFactory<T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.default <T> T
DatabaseAccess.executeObjectQuery
(ObjectFactory<T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.default <T> T
DatabaseAccess.executeObjectUpdate
(ObjectFactory<T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.static <T> ObjectFactory
<T> ObjectFactories.notNull
(ObjectFactory<T> objectFactory) Wraps an object factory, unless it is already not nullable.default <T,
C extends Collection<? super T>>
CDatabaseAccess.queryCollection
(int isolationLevel, boolean readOnly, C collection, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Query the database with aCollection<T>
return type, objects are created with the provided factory.default <T,
C extends Collection<? super T>>
CDatabaseAccess.queryCollection
(C collection, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-only query the database with aCollection<T>
return type, objects are created with the provided factory.default <T> List
<T> DatabaseAccess.queryList
(int isolationLevel, boolean readOnly, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Query the database with aList<T>
return type, objects are created with the provided factory.default <T> List
<T> DatabaseAccess.queryList
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-only query the database with aList<T>
return type, objects are created with the provided factory.default <T,
C extends Collection<? super T>>
CDatabaseAccess.queryNewCollection
(int isolationLevel, boolean readOnly, Function<? super Integer, ? extends C> newCollection, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Query the database with aCollection<T>
return type, objects are created with the provided factory.default <T,
C extends Collection<? super T>>
CDatabaseAccess.queryNewCollection
(Function<? super Integer, ? extends C> newCollection, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-only query the database with aCollection<T>
return type, objects are created with the provided factory.default <T> T
DatabaseAccess.queryObject
(int isolationLevel, boolean readOnly, boolean rowRequired, boolean nullable, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Query the database with a<T>
return type, objects are created with the provided factory.default <T> T
DatabaseAccess.queryObject
(int isolationLevel, boolean readOnly, boolean rowRequired, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Deprecated, for removal: This API element is subject to removal in a future version.default <T> T
DatabaseAccess.queryObject
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-only query the database with a required non-null<T>
return type, objects are created with the provided factory.default <T> T
DatabaseAccess.queryObjectNullable
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-only query the database with a required nullable<T>
return type, objects are created with the provided factory.default <T> Optional
<T> DatabaseAccess.queryObjectOptional
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-only query the database with an optional non-null<T>
return type, objects are created with the provided factory.default <T> Optional
<T> DatabaseAccess.queryObjectOptionalNullable
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-only query the database with an optional nullable<T>
return type, objects are created with the provided factory.default <T> Stream
<T> DatabaseAccess.stream
(int isolationLevel, boolean readOnly, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Query the database with aStream<T>
return type, objects are created with the provided factory.default <T> Stream
<T> DatabaseAccess.stream
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-only query the database with aStream<T>
return type, objects are created with the provided factory.DatabaseAccess.streamOptional
(int isolationLevel, boolean readOnly, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Query the database with aStream<Optional<T>>
return type, objects are created with the provided factory.DatabaseAccess.streamOptional
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-only query the database with aStream<Optional<T>>
return type, objects are created with the provided factory.DatabaseAccess.streamOptionalUpdate
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-write query the database with aStream<Optional<T>>
return type, objects are created with the provided factory.default <T> Stream
<T> DatabaseAccess.streamUpdate
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-write query the database with aStream<T>
return type, objects are created with the provided factory.default <T,
C extends Collection<? super T>>
CDatabaseAccess.updateCollection
(C collection, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-write query the database with aCollection<T>
return type, objects are created with the provided factory.default <T> List
<T> DatabaseAccess.updateList
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-write query the database with aList<T>
return type, objects are created with the provided factory.default <T,
C extends Collection<? super T>>
CDatabaseAccess.updateNewCollection
(Function<? super Integer, ? extends C> newCollection, ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-write query the database with aCollection<T>
return type, objects are created with the provided factory.default <T> T
DatabaseAccess.updateObject
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-write query the database with a required non-null<T>
return type, objects are created with the provided factory.default <T> T
DatabaseAccess.updateObjectNullable
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-write query the database with a required nullable<T>
return type, objects are created with the provided factory.default <T> Optional
<T> DatabaseAccess.updateObjectOptional
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-write query the database with an optional non-null<T>
return type, objects are created with the provided factory.default <T> Optional
<T> DatabaseAccess.updateObjectOptionalNullable
(ObjectFactory<? extends T> objectFactory, String sql, Object... params) Read-write query the database with an optional nullable<T>
return type, objects are created with the provided factory.
Class::new
.