Package com.landawn.abacus.jdbc.dao
Interface UncheckedJoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
- Type Parameters:
T
-SB
-SQLBuilder
used to generate sql scripts. Only can beSQLBuilder.PSC/PAC/PLC
TD
-
- All Superinterfaces:
JoinEntityHelper<T,
SB, TD>
- All Known Subinterfaces:
UncheckedCrudJoinEntityHelper<T,
,ID, SB, TD> UncheckedCrudJoinEntityHelperL<T,
,SB, TD> UncheckedReadOnlyCrudJoinEntityHelper<T,
,ID, SB, TD> UncheckedReadOnlyCrudJoinEntityHelperL<T,
,SB, TD> UncheckedReadOnlyJoinEntityHelper<T,
SB, TD>
public interface UncheckedJoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
extends JoinEntityHelper<T,SB,TD>
- Author:
- haiyangl
- See Also:
-
ConditionFactory
ConditionFactory.CF
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
deleteAllJoinEntities
(Collection<T> entities) default int
deleteAllJoinEntities
(Collection<T> entities, boolean inParallel) Deprecated.default int
deleteAllJoinEntities
(Collection<T> entities, Executor executor) Deprecated.the operation can't be finished in one transaction if it's executed in multiple threads.default int
deleteAllJoinEntities
(T entity) default int
deleteAllJoinEntities
(T entity, boolean inParallel) Deprecated.the operation maybe can't be finished in one transaction ifisParallel
is true.default int
deleteAllJoinEntities
(T entity, Executor executor) Deprecated.the operation can't be finished in one transaction if it's executed in multiple threads.default int
deleteJoinEntities
(Collection<T> entities, Class<?> joinEntityClass) int
deleteJoinEntities
(Collection<T> entities, String joinEntityPropName) default int
deleteJoinEntities
(Collection<T> entities, Collection<String> joinEntityPropNames) default int
deleteJoinEntities
(Collection<T> entities, Collection<String> joinEntityPropNames, boolean inParallel) Deprecated.the operation maybe can't be finished in one transaction ifisParallel
is true.default int
deleteJoinEntities
(Collection<T> entities, Collection<String> joinEntityPropNames, Executor executor) Deprecated.the operation can't be finished in one transaction if it's executed in multiple threads.default int
deleteJoinEntities
(T entity, Class<?> joinEntityClass) int
deleteJoinEntities
(T entity, String joinEntityPropName) default int
deleteJoinEntities
(T entity, Collection<String> joinEntityPropNames) default int
deleteJoinEntities
(T entity, Collection<String> joinEntityPropNames, boolean inParallel) Deprecated.the operation maybe can't be finished in one transaction ifisParallel
is true.default int
deleteJoinEntities
(T entity, Collection<String> joinEntityPropNames, Executor executor) Deprecated.the operation can't be finished in one transaction if it's executed in multiple threads.default com.landawn.abacus.util.u.Optional<T>
findFirst
(Collection<String> selectPropNames, boolean includeAllJoinEntities, com.landawn.abacus.condition.Condition cond) default com.landawn.abacus.util.u.Optional<T>
findFirst
(Collection<String> selectPropNames, Class<?> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) default com.landawn.abacus.util.u.Optional<T>
findFirst
(Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) default com.landawn.abacus.util.u.Optional<T>
findOnlyOne
(Collection<String> selectPropNames, boolean includeAllJoinEntities, com.landawn.abacus.condition.Condition cond) default com.landawn.abacus.util.u.Optional<T>
findOnlyOne
(Collection<String> selectPropNames, Class<?> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) default com.landawn.abacus.util.u.Optional<T>
findOnlyOne
(Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) list
(Collection<String> selectPropNames, boolean includeAllJoinEntities, com.landawn.abacus.condition.Condition cond) list
(Collection<String> selectPropNames, Class<?> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) list
(Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) default void
loadAllJoinEntities
(Collection<T> entities) default void
loadAllJoinEntities
(Collection<T> entities, boolean inParallel) default void
loadAllJoinEntities
(Collection<T> entities, Executor executor) default void
loadAllJoinEntities
(T entity) default void
loadAllJoinEntities
(T entity, boolean inParallel) default void
loadAllJoinEntities
(T entity, Executor executor) default void
loadJoinEntities
(Collection<T> entities, Class<?> joinEntityClass) default void
loadJoinEntities
(Collection<T> entities, Class<?> joinEntityClass, Collection<String> selectPropNames) default void
loadJoinEntities
(Collection<T> entities, String joinEntityPropName) void
loadJoinEntities
(Collection<T> entities, String joinEntityPropName, Collection<String> selectPropNames) default void
loadJoinEntities
(Collection<T> entities, Collection<String> joinEntityPropNames) default void
loadJoinEntities
(Collection<T> entities, Collection<String> joinEntityPropNames, boolean inParallel) default void
loadJoinEntities
(Collection<T> entities, Collection<String> joinEntityPropNames, Executor executor) default void
loadJoinEntities
(T entity, Class<?> joinEntityClass) default void
loadJoinEntities
(T entity, Class<?> joinEntityClass, Collection<String> selectPropNames) default void
loadJoinEntities
(T entity, String joinEntityPropName) void
loadJoinEntities
(T entity, String joinEntityPropName, Collection<String> selectPropNames) default void
loadJoinEntities
(T entity, Collection<String> joinEntityPropNames) default void
loadJoinEntities
(T entity, Collection<String> joinEntityPropNames, boolean inParallel) default void
loadJoinEntities
(T entity, Collection<String> joinEntityPropNames, Executor executor) default void
loadJoinEntitiesIfNull
(Collection<T> entities) default void
loadJoinEntitiesIfNull
(Collection<T> entities, boolean inParallel) default void
loadJoinEntitiesIfNull
(Collection<T> entities, Class<?> joinEntityClass) default void
loadJoinEntitiesIfNull
(Collection<T> entities, Class<?> joinEntityClass, Collection<String> selectPropNames) default void
loadJoinEntitiesIfNull
(Collection<T> entities, String joinEntityPropName) default void
loadJoinEntitiesIfNull
(Collection<T> entities, String joinEntityPropName, Collection<String> selectPropNames) default void
loadJoinEntitiesIfNull
(Collection<T> entities, Collection<String> joinEntityPropNames) default void
loadJoinEntitiesIfNull
(Collection<T> entities, Collection<String> joinEntityPropNames, boolean inParallel) default void
loadJoinEntitiesIfNull
(Collection<T> entities, Collection<String> joinEntityPropNames, Executor executor) default void
loadJoinEntitiesIfNull
(Collection<T> entities, Executor executor) default void
loadJoinEntitiesIfNull
(T entity) default void
loadJoinEntitiesIfNull
(T entity, boolean inParallel) default void
loadJoinEntitiesIfNull
(T entity, Class<?> joinEntityClass) default void
loadJoinEntitiesIfNull
(T entity, Class<?> joinEntityClass, Collection<String> selectPropNames) default void
loadJoinEntitiesIfNull
(T entity, String joinEntityPropName) default void
loadJoinEntitiesIfNull
(T entity, String joinEntityPropName, Collection<String> selectPropNames) default void
loadJoinEntitiesIfNull
(T entity, Collection<String> joinEntityPropNames) default void
loadJoinEntitiesIfNull
(T entity, Collection<String> joinEntityPropNames, boolean inParallel) default void
loadJoinEntitiesIfNull
(T entity, Collection<String> joinEntityPropNames, Executor executor) default void
loadJoinEntitiesIfNull
(T entity, Executor executor) Methods inherited from interface com.landawn.abacus.jdbc.dao.JoinEntityHelper
executor, stream, stream, stream, targetDaoInterface, targetEntityClass, targetTableName
-
Method Details
-
findFirst
default com.landawn.abacus.util.u.Optional<T> findFirst(Collection<String> selectPropNames, Class<?> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
findFirst
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-cond
-- Returns:
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
findFirst
default com.landawn.abacus.util.u.Optional<T> findFirst(Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
findFirst
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-cond
-- Returns:
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
findFirst
default com.landawn.abacus.util.u.Optional<T> findFirst(Collection<String> selectPropNames, boolean includeAllJoinEntities, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
findFirst
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.includeAllJoinEntities
-cond
-- Returns:
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
findOnlyOne
default com.landawn.abacus.util.u.Optional<T> findOnlyOne(Collection<String> selectPropNames, Class<?> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.DuplicatedResultException, com.landawn.abacus.exception.UncheckedSQLException - Specified by:
findOnlyOne
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-cond
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
findOnlyOne
default com.landawn.abacus.util.u.Optional<T> findOnlyOne(Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.DuplicatedResultException, com.landawn.abacus.exception.UncheckedSQLException - Specified by:
findOnlyOne
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-cond
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
findOnlyOne
default com.landawn.abacus.util.u.Optional<T> findOnlyOne(Collection<String> selectPropNames, boolean includeAllJoinEntities, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.DuplicatedResultException, com.landawn.abacus.exception.UncheckedSQLException - Specified by:
findOnlyOne
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.includeAllJoinEntities
-cond
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
list
@Beta default List<T> list(Collection<String> selectPropNames, Class<?> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
list
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-cond
-- Returns:
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
list
@Beta default List<T> list(Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
list
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-cond
-- Returns:
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
list
@Beta default List<T> list(Collection<String> selectPropNames, boolean includeAllJoinEntities, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
list
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.includeAllJoinEntities
-cond
-- Returns:
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
default void loadJoinEntities(T entity, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityClass
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
default void loadJoinEntities(T entity, Class<?> joinEntityClass, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityClass
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
default void loadJoinEntities(Collection<T> entities, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityClass
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
default void loadJoinEntities(Collection<T> entities, Class<?> joinEntityClass, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityClass
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
default void loadJoinEntities(T entity, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropName
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
void loadJoinEntities(T entity, String joinEntityPropName, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropName
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
default void loadJoinEntities(Collection<T> entities, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropName
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
void loadJoinEntities(Collection<T> entities, String joinEntityPropName, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropName
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
default void loadJoinEntities(T entity, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropNames
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
@Beta default void loadJoinEntities(T entity, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropNames
-inParallel
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
@Beta default void loadJoinEntities(T entity, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropNames
-executor
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
default void loadJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropNames
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
@Beta default void loadJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropNames
-inParallel
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntities
@Beta default void loadJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropNames
-executor
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadAllJoinEntities
default void loadAllJoinEntities(T entity) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadAllJoinEntities
@Beta default void loadAllJoinEntities(T entity, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-inParallel
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadAllJoinEntities
@Beta default void loadAllJoinEntities(T entity, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-executor
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadAllJoinEntities
default void loadAllJoinEntities(Collection<T> entities) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadAllJoinEntities
@Beta default void loadAllJoinEntities(Collection<T> entities, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-inParallel
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadAllJoinEntities
@Beta default void loadAllJoinEntities(Collection<T> entities, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-executor
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(T entity, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityClass
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(T entity, Class<?> joinEntityClass, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityClass
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(Collection<T> entities, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityClass
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(Collection<T> entities, Class<?> joinEntityClass, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityClass
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(T entity, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropName
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(T entity, String joinEntityPropName, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
- ?joinEntityPropName
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(Collection<T> entities, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropName
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(Collection<T> entities, String joinEntityPropName, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropName
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(T entity, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropNames
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
@Beta default void loadJoinEntitiesIfNull(T entity, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropNames
-inParallel
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
@Beta default void loadJoinEntitiesIfNull(T entity, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropNames
-executor
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(Collection<T> entities, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropNames
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
@Beta default void loadJoinEntitiesIfNull(Collection<T> entities, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropNames
-inParallel
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
@Beta default void loadJoinEntitiesIfNull(Collection<T> entities, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropNames
-executor
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(T entity) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
@Beta default void loadJoinEntitiesIfNull(T entity, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-inParallel
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
@Beta default void loadJoinEntitiesIfNull(T entity, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-executor
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
default void loadJoinEntitiesIfNull(Collection<T> entities) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
@Beta default void loadJoinEntitiesIfNull(Collection<T> entities, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-inParallel
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
loadJoinEntitiesIfNull
@Beta default void loadJoinEntitiesIfNull(Collection<T> entities, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
loadJoinEntitiesIfNull
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-executor
-- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
default int deleteJoinEntities(T entity, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityClass
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
default int deleteJoinEntities(Collection<T> entities, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityClass
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
int deleteJoinEntities(T entity, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropName
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
int deleteJoinEntities(Collection<T> entities, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropName
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
default int deleteJoinEntities(T entity, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropNames
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
@Beta @Deprecated default int deleteJoinEntities(T entity, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException Deprecated.the operation maybe can't be finished in one transaction ifisParallel
is true.- Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropNames
-inParallel
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
@Beta @Deprecated default int deleteJoinEntities(T entity, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException Deprecated.the operation can't be finished in one transaction if it's executed in multiple threads.- Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-joinEntityPropNames
-executor
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
default int deleteJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropNames
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
@Beta @Deprecated default int deleteJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException Deprecated.the operation maybe can't be finished in one transaction ifisParallel
is true.- Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropNames
-inParallel
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteJoinEntities
@Beta @Deprecated default int deleteJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException Deprecated.the operation can't be finished in one transaction if it's executed in multiple threads.- Specified by:
deleteJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-joinEntityPropNames
-executor
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteAllJoinEntities
default int deleteAllJoinEntities(T entity) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
deleteAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteAllJoinEntities
@Beta @Deprecated default int deleteAllJoinEntities(T entity, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException Deprecated.the operation maybe can't be finished in one transaction ifisParallel
is true.- Specified by:
deleteAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-inParallel
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteAllJoinEntities
@Beta @Deprecated default int deleteAllJoinEntities(T entity, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException Deprecated.the operation can't be finished in one transaction if it's executed in multiple threads.- Specified by:
deleteAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entity
-executor
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteAllJoinEntities
default int deleteAllJoinEntities(Collection<T> entities) throws com.landawn.abacus.exception.UncheckedSQLException - Specified by:
deleteAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteAllJoinEntities
@Beta @Deprecated default int deleteAllJoinEntities(Collection<T> entities, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException Deprecated.the operation maybe can't be finished in one transaction ifisParallel
is true.- Specified by:
deleteAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-inParallel
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
deleteAllJoinEntities
@Beta @Deprecated default int deleteAllJoinEntities(Collection<T> entities, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException Deprecated.the operation can't be finished in one transaction if it's executed in multiple threads.- Specified by:
deleteAllJoinEntities
in interfaceJoinEntityHelper<T,
SB extends com.landawn.abacus.util.SQLBuilder, TD extends UncheckedDao<T, SB, TD>> - Parameters:
entities
-executor
-- Returns:
- the total count of updated/deleted records.
- Throws:
com.landawn.abacus.exception.UncheckedSQLException
- the unchecked SQL exception
-
isParallel
is true.