public interface ContentAssistExtension
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
AbstractJPQLQueryHelper.buildContentAssistProposals(int, ContentAssistExtension)
Modifier and Type | Field and Description |
---|---|
static ContentAssistExtension |
NULL_HELPER
The
null instance of ContentAssistExtension . |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.lang.String> |
classNames(java.lang.String prefix,
ContentAssistProposals.ClassType type)
Returns the fully qualified class names filtered by the given prefix and type.
|
java.lang.Iterable<java.lang.String> |
columnNames(java.lang.String tableName,
java.lang.String prefix)
Returns the names of the given table's columns.
|
java.lang.Iterable<java.lang.String> |
tableNames(java.lang.String prefix)
Returns the names of the database tables filtered by the given prefix.
|
static final ContentAssistExtension NULL_HELPER
null
instance of ContentAssistExtension
.java.lang.Iterable<java.lang.String> classNames(java.lang.String prefix, ContentAssistProposals.ClassType type)
prefix
- The prefix is used to filter, it can be an empty string but never null
type
- Determines how to filter the various types of classesjava.lang.Iterable<java.lang.String> columnNames(java.lang.String tableName, java.lang.String prefix)
tableName
- The name of the table to retrieve the name of its columns, which is never
null
prefix
- java.lang.Iterable<java.lang.String> tableNames(java.lang.String prefix)
prefix
- The prefix is used to filter, it can be an empty string but never null