Package com.landawn.abacus.jdbc.dao
Interface CrudJoinEntityHelper<T,ID,SB extends com.landawn.abacus.util.SQLBuilder,TD extends CrudDao<T,ID,SB,TD>>
- All Superinterfaces:
JoinEntityHelper<T,
SB, TD>
- All Known Subinterfaces:
CrudJoinEntityHelperL<T,
,SB, TD> ReadOnlyCrudJoinEntityHelper<T,
,ID, SB, TD> ReadOnlyCrudJoinEntityHelperL<T,
,SB, TD> UncheckedCrudJoinEntityHelper<T,
,ID, SB, TD> UncheckedCrudJoinEntityHelperL<T,
,SB, TD> UncheckedReadOnlyCrudJoinEntityHelper<T,
,ID, SB, TD> UncheckedReadOnlyCrudJoinEntityHelperL<T,
SB, TD>
public interface CrudJoinEntityHelper<T,ID,SB extends com.landawn.abacus.util.SQLBuilder,TD extends CrudDao<T,ID,SB,TD>>
extends JoinEntityHelper<T,SB,TD>
-
Method Summary
Modifier and TypeMethodDescriptionbatchGet
(Collection<? extends ID> ids, boolean includeAllJoinEntities) batchGet
(Collection<? extends ID> ids, Class<?> joinEntitiesToLoad) batchGet
(Collection<? extends ID> ids, Collection<String> selectPropNames, boolean includeAllJoinEntities) batchGet
(Collection<? extends ID> ids, Collection<String> selectPropNames, int batchSize, boolean includeAllJoinEntities) batchGet
(Collection<? extends ID> ids, Collection<String> selectPropNames, int batchSize, Class<?> joinEntitiesToLoad) batchGet
(Collection<? extends ID> ids, Collection<String> selectPropNames, int batchSize, Collection<Class<?>> joinEntitiesToLoad) batchGet
(Collection<? extends ID> ids, Collection<String> selectPropNames, Class<?> joinEntitiesToLoad) batchGet
(Collection<? extends ID> ids, Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad) default com.landawn.abacus.util.u.Optional<T>
default com.landawn.abacus.util.u.Optional<T>
default com.landawn.abacus.util.u.Optional<T>
get
(ID id, Collection<String> selectPropNames, boolean includeAllJoinEntities) default com.landawn.abacus.util.u.Optional<T>
get
(ID id, Collection<String> selectPropNames, Class<?> joinEntitiesToLoad) default com.landawn.abacus.util.u.Optional<T>
get
(ID id, Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad) default T
default T
default T
gett
(ID id, Collection<String> selectPropNames, boolean includeAllJoinEntities) default T
gett
(ID id, Collection<String> selectPropNames, Class<?> joinEntitiesToLoad) default T
gett
(ID id, Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad) Methods inherited from interface com.landawn.abacus.jdbc.dao.JoinEntityHelper
deleteAllJoinEntities, deleteAllJoinEntities, deleteAllJoinEntities, deleteAllJoinEntities, deleteAllJoinEntities, deleteAllJoinEntities, deleteJoinEntities, deleteJoinEntities, deleteJoinEntities, deleteJoinEntities, deleteJoinEntities, deleteJoinEntities, deleteJoinEntities, deleteJoinEntities, deleteJoinEntities, deleteJoinEntities, executor, findFirst, findFirst, findFirst, findOnlyOne, findOnlyOne, findOnlyOne, list, list, list, loadAllJoinEntities, loadAllJoinEntities, loadAllJoinEntities, loadAllJoinEntities, loadAllJoinEntities, loadAllJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntities, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, loadJoinEntitiesIfNull, stream, stream, stream, targetDaoInterface, targetEntityClass, targetTableName
-
Method Details
-
get
@Beta default com.landawn.abacus.util.u.Optional<T> get(ID id, Class<?> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
get
@Beta default com.landawn.abacus.util.u.Optional<T> get(ID id, boolean includeAllJoinEntities) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-includeAllJoinEntities
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
get
@Beta default com.landawn.abacus.util.u.Optional<T> get(ID id, Collection<String> selectPropNames, Class<?> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
get
@Beta default com.landawn.abacus.util.u.Optional<T> get(ID id, Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
get
@Beta default com.landawn.abacus.util.u.Optional<T> get(ID id, Collection<String> selectPropNames, boolean includeAllJoinEntities) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.includeAllJoinEntities
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
gett
@Beta default T gett(ID id, Class<?> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
gett
@Beta default T gett(ID id, boolean includeAllJoinEntities) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-includeAllJoinEntities
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
gett
@Beta default T gett(ID id, Collection<String> selectPropNames, Class<?> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
gett
@Beta default T gett(ID id, Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
gett
@Beta default T gett(ID id, Collection<String> selectPropNames, boolean includeAllJoinEntities) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
id
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
.includeAllJoinEntities
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if more than one record found by the specifiedid
(orcondition
).SQLException
-
batchGet
@Beta default List<T> batchGet(Collection<? extends ID> ids, Class<?> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
ids
-joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if the size of result is bigger than the size of inputids
.SQLException
-
batchGet
@Beta default List<T> batchGet(Collection<? extends ID> ids, boolean includeAllJoinEntities) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
ids
-includeAllJoinEntities
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if the size of result is bigger than the size of inputids
.SQLException
-
batchGet
@Beta default List<T> batchGet(Collection<? extends ID> ids, Collection<String> selectPropNames, Class<?> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
ids
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
. all properties(columns) will be selected, excluding the properties of joining entities, ifselectPropNames
isnull
.joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if the size of result is bigger than the size of inputids
.SQLException
-
batchGet
@Beta default List<T> batchGet(Collection<? extends ID> ids, Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
ids
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
. all properties(columns) will be selected, excluding the properties of joining entities, ifselectPropNames
isnull
.joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if the size of result is bigger than the size of inputids
.SQLException
-
batchGet
@Beta default List<T> batchGet(Collection<? extends ID> ids, Collection<String> selectPropNames, boolean includeAllJoinEntities) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
ids
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
. all properties(columns) will be selected, excluding the properties of joining entities, ifselectPropNames
isnull
.includeAllJoinEntities
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if the size of result is bigger than the size of inputids
.SQLException
-
batchGet
@Beta default List<T> batchGet(Collection<? extends ID> ids, Collection<String> selectPropNames, int batchSize, Class<?> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
ids
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
. all properties(columns) will be selected, excluding the properties of joining entities, ifselectPropNames
isnull
.batchSize
-joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if the size of result is bigger than the size of inputids
.SQLException
-
batchGet
@Beta default List<T> batchGet(Collection<? extends ID> ids, Collection<String> selectPropNames, int batchSize, Collection<Class<?>> joinEntitiesToLoad) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
ids
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
. all properties(columns) will be selected, excluding the properties of joining entities, ifselectPropNames
isnull
.batchSize
-joinEntitiesToLoad
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if the size of result is bigger than the size of inputids
.SQLException
-
batchGet
@Beta default List<T> batchGet(Collection<? extends ID> ids, Collection<String> selectPropNames, int batchSize, boolean includeAllJoinEntities) throws com.landawn.abacus.exception.DuplicatedResultException, SQLException - Parameters:
ids
-selectPropNames
- all properties(columns) will be selected, excluding the properties of joining entities, if the specifiedselectPropNames
isnull
. all properties(columns) will be selected, excluding the properties of joining entities, ifselectPropNames
isnull
.batchSize
-includeAllJoinEntities
-- Returns:
- Throws:
com.landawn.abacus.exception.DuplicatedResultException
- if the size of result is bigger than the size of inputids
.SQLException
-