Package org.topbraid.jenax.util
Interface AutoCompleteEngine
-
public interface AutoCompleteEngineAn interface for objects that can deliver the results of an auto-complete operation.- Author:
- Holger Knublauch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<org.apache.jena.graph.Triple>getResults(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node typeNode, String[] langs, String prefix, int count, int offset, Predicate<org.apache.jena.graph.Node> filter)Performs an auto-complete operation.
-
-
-
Method Detail
-
getResults
List<org.apache.jena.graph.Triple> getResults(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node typeNode, String[] langs, String prefix, int count, int offset, Predicate<org.apache.jena.graph.Node> filter)
Performs an auto-complete operation.- Parameters:
graph- the Graph to operate ontypeNode- the rdf:type of the result objectslangs- the match languages of the literalsprefix- the prefix string that was enteredcount- the max number of results to return or -1offset- the offset from which to start returning valuesfilter- an optional additional filter to drop results- Returns:
- an ordered list of triples with the resources as subjects and their labels as objects
-
-