Class GeneratedJpqlPayload
java.lang.Object
io.jmix.aitools.dataload.repair.impl.GeneratedJpqlPayload
Raw LLM output of a repair attempt, deserialized from the model's JSON response.
Scalar fields are optional and may be absent (null); the payload is mapped to a
GeneratedJpqlResult before use.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the human-readable explanation of the query.@Nullable IntegerReturns the requested offset of the first row.@Nullable StringgetJpql()Returns the repaired JPQL query text.@Nullable IntegerReturns the requested maximum number of rows.@Nullable List<GeneratedJpqlParameterPayload> Returns the named query parameters.Returns the warnings produced about the query.voidsetExplanation(@Nullable String explanation) voidsetFirstResult(@Nullable Integer firstResult) voidvoidsetMaxResults(@Nullable Integer maxResults) voidsetParameters(@Nullable List<GeneratedJpqlParameterPayload> parameters) voidsetWarnings(@Nullable List<String> warnings)
-
Field Details
-
jpql
-
parameters
-
explanation
-
warnings
-
maxResults
-
firstResult
-
-
Constructor Details
-
GeneratedJpqlPayload
public GeneratedJpqlPayload()
-
-
Method Details
-
getJpql
Returns the repaired JPQL query text.- Returns:
- JPQL query, or
nullif the model did not provide one
-
setJpql
-
getParameters
Returns the named query parameters.- Returns:
- query parameters, or
nullif absent
-
setParameters
-
getExplanation
Returns the human-readable explanation of the query.- Returns:
- query explanation, or
nullif absent
-
setExplanation
-
getWarnings
Returns the warnings produced about the query.- Returns:
- warnings, or
nullif absent
-
setWarnings
-
getMaxResults
Returns the requested maximum number of rows.- Returns:
- maximum number of rows, or
nullif absent
-
setMaxResults
-
getFirstResult
Returns the requested offset of the first row.- Returns:
- row offset, or
nullif absent
-
setFirstResult
-