com.franz.agraph.repository
Class AGFreetextQuery
java.lang.Object
com.franz.agraph.repository.AGFreetextQuery
public class AGFreetextQuery
- extends Object
AGFreetextQuery
public AGFreetextQuery(AGRepositoryConnection conn)
setPattern
public void setPattern(String pattern)
setExpression
public void setExpression(String expression)
setIndex
public void setIndex(String index)
setSorted
public void setSorted(boolean sorted)
setLimit
public void setLimit(int limit)
setOffset
public void setOffset(int offset)
evaluate
public org.openrdf.repository.RepositoryResult<org.openrdf.model.Statement> evaluate()
throws org.openrdf.query.QueryEvaluationException
- Throws:
org.openrdf.query.QueryEvaluationException
evaluate
public void evaluate(org.openrdf.rio.RDFHandler handler)
throws org.openrdf.query.QueryEvaluationException,
org.openrdf.rio.RDFHandlerException
- Evaluates the query and uses handler to process the result.
- Throws:
org.openrdf.query.QueryEvaluationException
org.openrdf.rio.RDFHandlerException