Package com.franz.agraph.repository
Class AGFreetextQuery
java.lang.Object
com.franz.agraph.repository.AGFreetextQuery
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate()
void
evaluate
(RDFHandler handler) Evaluates the query and uses handler to process the result.void
setExpression
(String expression) void
void
setLimit
(int limit) void
setOffset
(int offset) void
setPattern
(String pattern) void
setSorted
(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
-