Class LabelRepository

java.lang.Object
org.qubership.atp.dataset.db.AbstractRepository
org.qubership.atp.dataset.db.LabelRepository

@Repository public class LabelRepository extends AbstractRepository
  • Constructor Details

    • LabelRepository

      @Autowired public LabelRepository(@Nonnull com.querydsl.sql.SQLQueryFactory queryFactory)
      Label repository.
      Parameters:
      queryFactory - is used for creating sql queries.
  • Method Details

    • getLabelByName

      @Nullable public Label getLabelByName(@Nonnull String name)
      Returns a label with name. If found.