org.pentaho.platform.api.repository
Interface ISearchable
- All Known Subinterfaces:
- IRepositoryFile
- All Known Implementing Classes:
- ContentItem, ContentLocation, RepositoryFile
public interface ISearchable
Field Summary |
static int |
SEARCH_TYPE_PHRASE
SEARCH_TYPE_PHRASE Searches for the exact phrase |
static int |
SEARCH_TYPE_WORDS_AND
SEARCH_TYPE_WORDS_AND Searches for each word with each column using an
AND connector |
static int |
SEARCH_TYPE_WORDS_OR
SEARCH_TYPE_WORDS_OR Searches for each word with each column using an OR
connector |
SEARCH_TYPE_PHRASE
static final int SEARCH_TYPE_PHRASE
- SEARCH_TYPE_PHRASE Searches for the exact phrase
- See Also:
- Constant Field Values
SEARCH_TYPE_WORDS_OR
static final int SEARCH_TYPE_WORDS_OR
- SEARCH_TYPE_WORDS_OR Searches for each word with each column using an OR
connector
- See Also:
- Constant Field Values
SEARCH_TYPE_WORDS_AND
static final int SEARCH_TYPE_WORDS_AND
- SEARCH_TYPE_WORDS_AND Searches for each word with each column using an
AND connector
- See Also:
- Constant Field Values
getSearchableColumns
String[] getSearchableColumns()
- Returns:
- Returns an array of the char/varchar columns that can be
searched.
getSearchableTable
String getSearchableTable()
- Returns:
- Returns the name of the hibernated object which will be used in
the search.
getPhraseSearchQueryName
String getPhraseSearchQueryName()
- Returns:
- Returns the fully-package-qualified name of a named query in the
Hibernate Schema that supports a full-text search of all
searchable columns. The parameter name for the search term in the
query must be :searchTerm or the query will fail.