public class AGFreetextQuery extends Object
Constructor and Description |
---|
AGFreetextQuery(AGRepositoryConnection conn) |
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Statement> |
evaluate() |
void |
evaluate(RDFHandler handler)
Evaluates the query and uses handler to process the result.
|
void |
setExpression(String expression) |
void |
setIndex(String index) |
void |
setLimit(int limit) |
void |
setOffset(int offset) |
void |
setPattern(String pattern) |
void |
setSorted(boolean sorted) |
public AGFreetextQuery(AGRepositoryConnection conn)
public void setPattern(String pattern)
public void setExpression(String expression)
public void setIndex(String index)
public void setSorted(boolean sorted)
public void setLimit(int limit)
public void setOffset(int offset)
public RepositoryResult<Statement> evaluate() throws QueryEvaluationException
QueryEvaluationException
public void evaluate(RDFHandler handler) throws QueryEvaluationException, RDFHandlerException
handler
- used to process the query resultsQueryEvaluationException
- if errors occur while evaluating the queryRDFHandlerException
- if errors occur while processing resultsCopyright © 2024 Franz Inc.. All rights reserved.