Klasse IntersectingPattern

Alle implementierten Schnittstellen:
Cloneable, IParallelizable, IIndexConstants
Bekannte direkte Unterklassen:
AndPattern, PackageReferencePattern, TypeReferencePattern

public abstract class IntersectingPattern extends JavaSearchPattern
Query the index multiple times and do an 'and' on the results.
  • Konstruktordetails

    • IntersectingPattern

      public IntersectingPattern(int patternKind, int matchRule)
  • Methodendetails

    • findIndexMatches

      public void findIndexMatches(Index index, IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws IOException
      Beschreibung aus Klasse kopiert: SearchPattern
      Query a given index for matching entries. Assumes the sender has opened the index and will close when finished.
      Setzt außer Kraft:
      findIndexMatches in Klasse SearchPattern
      Löst aus:
      IOException
    • findIndexMatches

      public void findIndexMatches(Index index, IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, boolean resolveDocumentName, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws IOException
      Beschreibung aus Klasse kopiert: SearchPattern
      Query a given index for matching entries. Assumes the sender has opened the index and will close when finished. This API provides a flag to control whether to skip resolving document name for the matching entries. If a SearchPattern subclass has a different implementation of index matching, they have to override this API to support document name resolving feature.
      Setzt außer Kraft:
      findIndexMatches in Klasse SearchPattern
      Parameter:
      index - the target index to query
      requestor - the search requestor
      participant - the search participant
      scope - the search scope where the search results should be found
      resolveDocumentName - whether to skip the document name resolving for the matching entries
      progressMonitor - a progress monitor
      Löst aus:
      IOException
    • hasNextQuery

      protected abstract boolean hasNextQuery()
      Returns whether another query must be done.
    • resetQuery

      protected abstract void resetQuery()
      Resets the query and prepares this pattern to be queried.