Package com.landawn.abacus.jdbc.dao
Interface CrudJoinEntityHelperL<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends CrudDaoL<T,SB,TD>>
- All Superinterfaces:
CrudJoinEntityHelper<T,
,Long, SB, TD> JoinEntityHelper<T,
SB, TD>
- All Known Subinterfaces:
ReadOnlyCrudJoinEntityHelperL<T,
,SB, TD> UncheckedCrudJoinEntityHelperL<T,
,SB, TD> UncheckedReadOnlyCrudJoinEntityHelperL<T,
SB, TD>
public interface CrudJoinEntityHelperL<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends CrudDaoL<T,SB,TD>>
extends CrudJoinEntityHelper<T,Long,SB,TD>
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.landawn.abacus.util.u.Optional<T>
get
(long id, boolean includeAllJoinEntities) default com.landawn.abacus.util.u.Optional<T>
default com.landawn.abacus.util.u.Optional<T>
get
(long id, Collection<String> selectPropNames, boolean includeAllJoinEntities) default com.landawn.abacus.util.u.Optional<T>
get
(long id, Collection<String> selectPropNames, Class<?> joinEntitiesToLoad) default com.landawn.abacus.util.u.Optional<T>
get
(long id, Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad) default T
gett
(long id, boolean includeAllJoinEntities) default T
default T
gett
(long id, Collection<String> selectPropNames, boolean includeAllJoinEntities) default T
gett
(long id, Collection<String> selectPropNames, Class<?> joinEntitiesToLoad) default T
gett
(long id, Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad) Methods inherited from interface com.landawn.abacus.jdbc.dao.CrudJoinEntityHelper
batchGet, batchGet, batchGet, batchGet, batchGet, batchGet, batchGet, batchGet, get, get, get, get, get, gett, gett, gett, gett, gett
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
-
Method Details
-
get
@Beta default com.landawn.abacus.util.u.Optional<T> get(long 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(long 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(long 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(long 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(long 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(long 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(long 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(long 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(long 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(long 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
-