| Methods in org.eclipse.jdt.internal.core.search.indexing that return Index |
Index |
IndexManager.getIndex(IndexLocation indexLocation)
Returns the index for a given index location |
Index |
IndexManager.getIndex(IPath containerPath,
boolean reuseExistingFile,
boolean createIfMissing)
Returns the index for a given project, according to the following algorithm:
- if index is already in memory: answers this one back
- if (reuseExistingFile) then read it and return this index and record it in memory
- if (createIfMissing) then create a new empty index and record it in memory
Warning: Does not check whether index is consistent (not being used) |
Index |
IndexManager.getIndex(IPath containerPath,
IndexLocation indexLocation,
boolean reuseExistingFile,
boolean createIfMissing)
Returns the index for a given project, according to the following algorithm:
- if index is already in memory: answers this one back
- if (reuseExistingFile) then read it and return this index and record it in memory
- if (createIfMissing) then create a new empty index and record it in memory
Warning: Does not check whether index is consistent (not being used) |
Index[] |
IndexManager.getIndexes(IndexLocation[] locations,
IProgressMonitor progressMonitor)
Returns all the existing indexes for a list of index locations. |
Index |
IndexManager.getIndexForUpdate(IPath containerPath,
boolean reuseExistingFile,
boolean createIfMissing)
|
Index |
IndexManager.recreateIndex(IPath containerPath)
Recreates the index for a given path, keeping the same read-write monitor. |
| Methods in org.eclipse.jdt.internal.core.search.matching with parameters of type Index |
void |
LocalVariablePattern.findIndexMatches(Index index,
IndexQueryRequestor requestor,
SearchParticipant participant,
IJavaSearchScope scope,
IProgressMonitor progressMonitor)
|
void |
TypeParameterPattern.findIndexMatches(Index index,
IndexQueryRequestor requestor,
SearchParticipant participant,
IJavaSearchScope scope,
IProgressMonitor progressMonitor)
|
void |
IntersectingPattern.findIndexMatches(Index index,
IndexQueryRequestor requestor,
SearchParticipant participant,
IJavaSearchScope scope,
IProgressMonitor progressMonitor)
|
void |
OrPattern.findIndexMatches(Index index,
IndexQueryRequestor requestor,
SearchParticipant participant,
IJavaSearchScope scope,
IProgressMonitor progressMonitor)
|
static void |
MatchLocator.findIndexMatches(SearchPattern pattern,
Index index,
IndexQueryRequestor requestor,
SearchParticipant participant,
IJavaSearchScope scope,
IProgressMonitor monitor)
Query a given index for matching entries. |
EntryResult[] |
TypeDeclarationPattern.queryIn(Index index)
|
EntryResult[] |
PackageDeclarationPattern.queryIn(Index index)
|
EntryResult[] |
SecondaryTypeDeclarationPattern.queryIn(Index index)
|
EntryResult[] |
ConstructorPattern.queryIn(Index index)
|
EntryResult[] |
MultiTypeDeclarationPattern.queryIn(Index index)
|
EntryResult[] |
MethodPattern.queryIn(Index index)
|
EntryResult[] |
SuperTypeReferencePattern.queryIn(Index index)
|