Interface EntityDataLoadGenerationService

All Known Implementing Classes:
EntityDataLoadGenerationServiceImpl

public interface EntityDataLoadGenerationService
Service for generating JPQL from user prompt.

Generation step of the natural-language data-load flow: turns a user's free-form request into a structured JPQL query draft (query text, parameters and result properties).

  • Method Details

    • generate

      Generates a JPQL query draft for the given request.
      Parameters:
      request - the generation request — a prompt and, optionally, the constraints the query must satisfy
      Returns:
      generated query draft
    • generate

      default EntityDataLoadQuery generate(String userText)
      Generates a JPQL query draft from a natural-language request with no additional constraints.
      Parameters:
      userText - user request in natural language
      Returns:
      generated query draft