Franz Inc, AllegroGraph

com.franz.agraph.repository
Class AGFreetextQuery

java.lang.Object
  extended by com.franz.agraph.repository.AGFreetextQuery

public class AGFreetextQuery
extends Object


Constructor Summary
AGFreetextQuery(AGRepositoryConnection conn)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGFreetextQuery

public AGFreetextQuery(AGRepositoryConnection conn)
Method Detail

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 RepositoryResult<Statement> evaluate()
                                     throws QueryEvaluationException
Throws:
QueryEvaluationException

evaluate

public void evaluate(RDFHandler handler)
              throws QueryEvaluationException,
                     RDFHandlerException
Evaluates the query and uses handler to process the result.

Throws:
QueryEvaluationException
RDFHandlerException

Copyright © 2008-2010 Franz Inc.