Class JpqlSuggestionProvider
java.lang.Object
io.jmix.data.impl.jpql.suggestion.JpqlSuggestionProvider
- All Implemented Interfaces:
QuerySuggestionProvider
@Primary
@Component("data_JpqlSuggestionProvider")
public class JpqlSuggestionProvider
extends Object
implements QuerySuggestionProvider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSuggestions
(QuerySuggestionsContext context) protected QuerySuggestions
getSuggestionsByEntityName
(DomainModel domainModel, String lastWord) protected QuerySuggestions
getSuggestionsByFieldName
(DomainModel domainModel, String lastWord, String query, int caretPosition, Set<InferredType> expectedTypes) void
setDomainModel
(DomainModelBuilder domainModelBuilder)
-
Field Details
-
domainModelBuilder
-
-
Constructor Details
-
JpqlSuggestionProvider
public JpqlSuggestionProvider()
-
-
Method Details
-
setDomainModel
@Autowired @Qualifier("withCaptions") public void setDomainModel(DomainModelBuilder domainModelBuilder) -
getSuggestions
- Specified by:
getSuggestions
in interfaceQuerySuggestionProvider
-
getSuggestionsByFieldName
protected QuerySuggestions getSuggestionsByFieldName(DomainModel domainModel, String lastWord, String query, int caretPosition, Set<InferredType> expectedTypes) -
getSuggestionsByEntityName
-