| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.result.internal.index.ResultHistoryLuceneIndex
public class ResultHistoryLuceneIndex
Lucene based index
| Constructor Summary | |
|---|---|
| ResultHistoryLuceneIndex() | |
| Method Summary | |
|---|---|
|  void | addResult(IResultInstance instance)Adds a new instance for indexing | 
|  void | addResults(IResultInstance[] instances)Adds a list of result instances for indexing | 
|  void | refreshResult(IResultInstance instance)Refreshes the given result instance | 
|  void | removeResult(IResultInstance instance)Removes the specified result instance | 
|  void | removeResults(IResultInstance[] instances)Removes a list of result instances | 
|  IResultInstance[] | search(java.lang.String expression)Searches the index by the given expression and returns the searching results | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ResultHistoryLuceneIndex()
| Method Detail | 
|---|
public void addResult(IResultInstance instance)
IResultHistoryIndex
addResult in interface IResultHistoryIndexinstance - a result instancepublic void addResults(IResultInstance[] instances)
IResultHistoryIndex
addResults in interface IResultHistoryIndexinstances - a list of result instancespublic void removeResult(IResultInstance instance)
IResultHistoryIndex
removeResult in interface IResultHistoryIndexinstance - a result instancepublic void removeResults(IResultInstance[] instances)
IResultHistoryIndex
removeResults in interface IResultHistoryIndexinstances - a list of result instancespublic IResultInstance[] search(java.lang.String expression)
IResultHistoryIndex
search in interface IResultHistoryIndexexpression - the search expression
public void refreshResult(IResultInstance instance)
IResultHistoryIndex
refreshResult in interface IResultHistoryIndexinstance - a result instance| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||