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 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 specified id (or condition).
      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 specified id (or condition).
      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 specified selectPropNames is null.
      joinEntitiesToLoad -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if more than one record found by the specified id (or condition).
      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 specified selectPropNames is null.
      joinEntitiesToLoad -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if more than one record found by the specified id (or condition).
      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 specified selectPropNames is null.
      includeAllJoinEntities -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if more than one record found by the specified id (or condition).
      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 specified id (or condition).
      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 specified id (or condition).
      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 specified selectPropNames is null.
      joinEntitiesToLoad -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if more than one record found by the specified id (or condition).
      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 specified selectPropNames is null.
      joinEntitiesToLoad -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if more than one record found by the specified id (or condition).
      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 specified selectPropNames is null.
      includeAllJoinEntities -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if more than one record found by the specified id (or condition).
      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 input ids.
      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 input ids.
      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 specified selectPropNames is null. all properties(columns) will be selected, excluding the properties of joining entities, if selectPropNames is null.
      joinEntitiesToLoad -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if the size of result is bigger than the size of input ids.
      SQLException
    • batchGet

      @Beta default List<T> batchGet(Collection<? extends ID> ids, Collection<String> selectPropNames, Collection<? extends 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 specified selectPropNames is null. all properties(columns) will be selected, excluding the properties of joining entities, if selectPropNames is null.
      joinEntitiesToLoad -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if the size of result is bigger than the size of input ids.
      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 specified selectPropNames is null. all properties(columns) will be selected, excluding the properties of joining entities, if selectPropNames is null.
      includeAllJoinEntities -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if the size of result is bigger than the size of input ids.
      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 specified selectPropNames is null. all properties(columns) will be selected, excluding the properties of joining entities, if selectPropNames is null.
      batchSize -
      joinEntitiesToLoad -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if the size of result is bigger than the size of input ids.
      SQLException
    • batchGet

      @Beta default List<T> batchGet(Collection<? extends ID> ids, Collection<String> selectPropNames, int batchSize, Collection<? extends 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 specified selectPropNames is null. all properties(columns) will be selected, excluding the properties of joining entities, if selectPropNames is null.
      batchSize -
      joinEntitiesToLoad -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if the size of result is bigger than the size of input ids.
      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 specified selectPropNames is null. all properties(columns) will be selected, excluding the properties of joining entities, if selectPropNames is null.
      batchSize -
      includeAllJoinEntities -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if the size of result is bigger than the size of input ids.
      SQLException