Class DefaultGraphSearchService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<SearchSuggestion> getSuggestions​(java.lang.String namespace, java.lang.String input)
      Returns a list of suggestions for the given namespace and input, where input may only be a snippet of the whole data, e.g.
      void onBind​(SearchProvider graphSearchProvider, java.util.Map<java.lang.String,​java.lang.String> props)  
      void onUnbind​(SearchProvider graphSearchProvider, java.util.Map<java.lang.String,​java.lang.String> props)  
      java.util.List<GenericVertex> search​(SearchCriteria searchCriteria)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultGraphSearchService

        public DefaultGraphSearchService​(GraphService graphService)
    • Method Detail

      • getSuggestions

        public java.util.List<SearchSuggestion> getSuggestions​(java.lang.String namespace,
                                                               java.lang.String input)
        Description copied from interface: GraphSearchService
        Returns a list of suggestions for the given namespace and input, where input may only be a snippet of the whole data, e.g. for type ahead support.
        Specified by:
        getSuggestions in interface GraphSearchService
        Parameters:
        namespace - The namespace to search in
        input - The "thing" to search
        Returns:
        A list of results, the user may select from
      • onBind

        public void onBind​(SearchProvider graphSearchProvider,
                           java.util.Map<java.lang.String,​java.lang.String> props)
      • onUnbind

        public void onUnbind​(SearchProvider graphSearchProvider,
                             java.util.Map<java.lang.String,​java.lang.String> props)