Interface AnnotationSource


  • public interface AnnotationSource
    Data source from which annotations comes from
    Author:
    Angel Chang
    • Method Detail

      • getAnnotations

        Iterable<Annotation> getAnnotations​(String selector,
                                            int limit)
        Returns a iterable of annotations given input string (i.e. filename, lucene query, etc)
        Parameters:
        selector - - selector of what annotations to return
        limit - - limit on the number of annotations to return (0 or less for unlimited)
        Returns:
        iterable of annotations
      • getAnnotations

        Iterable<Annotation> getAnnotations​(String selector)
        Returns a iterable of annotations given input string (i.e. filename, lucene query, etc)
        Parameters:
        selector - - selector of what annotations to return
        Returns:
        iterable of annotations