Package com.franz.agraph.repository
Class AGFreetextQuery
java.lang.Object
com.franz.agraph.repository.AGFreetextQuery
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate()voidevaluate(RDFHandler handler) Evaluates the query and uses handler to process the result.voidsetExpression(String expression) voidvoidsetLimit(int limit) voidsetOffset(int offset) voidsetPattern(String pattern) voidsetSorted(boolean sorted)
-
Constructor Details
-
AGFreetextQuery
-
-
Method Details
-
setPattern
-
setExpression
-
setIndex
-
setSorted
public void setSorted(boolean sorted) -
setLimit
public void setLimit(int limit) -
setOffset
public void setOffset(int offset) -
evaluate
- Throws:
QueryEvaluationException
-
evaluate
Evaluates the query and uses handler to process the result.- Parameters:
handler- used to process the query results- Throws:
QueryEvaluationException- if errors occur while evaluating the queryRDFHandlerException- if errors occur while processing results
-