Class DtoBlueprint.SelectDtoData

java.lang.Object
org.litebridge.orm.persistence.DtoBlueprint.DtoData<DtoSelectSpec>
org.litebridge.orm.persistence.DtoBlueprint.SelectDtoData
Enclosing class:
DtoBlueprint

public static final class DtoBlueprint.SelectDtoData extends DtoBlueprint.DtoData<DtoSelectSpec>
Specialised data container for DTO-based selections in the context of a DtoBlueprint.

This class extends the generic DtoData class and provides specific functionality related to selections defined by a DtoSelectSpec.

Each instance manages the mapping of a DtoSelectSpec to the corresponding columns, primary keys, and rows which collectively form the representation of the DTO data.

The constructor automatically filters and maps the provided expressions from the DtoSelectSpec, isolating only those that correspond to SelectFieldSpec for the relevant table.

  • Constructor Details

    • SelectDtoData

      public SelectDtoData(DtoSelectSpec dtoSelectSpec, List<Object> primaryKey, Row dtoRows)
      Creates a new select DTO data instance.
      Parameters:
      dtoSelectSpec - the select specification
      primaryKey - the primary key values
      dtoRows - the database row data
  • Method Details