|
Franz Inc, AllegroGraph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openrdf.query.impl.AbstractOperation org.openrdf.query.impl.AbstractQuery com.franz.agraph.repository.AGQuery
public abstract class AGQuery
An abstract query class common to Boolean, Graph and Tuple Queries.
Field Summary | |
---|---|
static String |
RDFS_PLUS_PLUS
The default entailment regime to use when inferences are included. |
static String |
RESTRICTION
An entailment regime that includes hasValue, someValuesFrom and allValuesFrom reasoning in addition to RDFS++ entailment. |
static String |
SPARQL_COVERAGE_PLANNER
The default query planner for SPARQL. |
static String |
SPARQL_IDENTITY_PLANNER
A query planner for SPARQL that processes queries without doing any reordering of clauses or optimization, useful if the user knows the best order for processing the query. |
Constructor Summary | |
---|---|
AGQuery(AGRepositoryConnection con,
QueryLanguage ql,
String queryString,
String baseURI)
|
Method Summary | |
---|---|
String |
analyze()
Returns the query analysis for the query. |
Binding[] |
getBindingsArray()
|
String |
getEngine()
Deprecated. internal use only |
String |
getEntailmentRegime()
Gets the entailment regime being used when including inferences with this query. |
QueryLanguage |
getLanguage()
Gets the query language for this query. |
int |
getLimit()
Gets the limit on the number of solutions for this query. |
String |
getName()
Gets the savedName for the query. |
int |
getOffset()
Gets the offset, the number of solutions to skip for this query. |
String |
getPlanner()
Gets the query planner that processes the query. |
String |
getQueryString()
Gets the query string for this query. |
boolean |
isCheckVariables()
Gets the flag for checkVariables. |
boolean |
isPrepared()
Gets the prepared flag for the query. |
void |
setCheckVariables(boolean checkVariables)
A boolean that defaults to false, indicating whether an error should be raised when a SPARQL query selects variables that are not mentioned in the query body. |
void |
setEngine(String engine)
Deprecated. internal use only |
void |
setEntailmentRegime(String entailmentRegime)
Sets the entailment regime to use when including inferences with this query. |
void |
setIncludeInferred(boolean includeInferred)
Determine whether evaluation results of this query should include inferred statements (if any inferred statements are present in the repository). |
void |
setLimit(int limit)
Sets the limit on the number of solutions for this query. |
void |
setOffset(int offset)
Sets the offset, the number of solutions to skip for this query. |
void |
setPlanner(String planner)
Sets the query planner to use when processing the query. |
void |
setPrepared(boolean prepared)
Sets the prepared flag for the query. |
void |
setSaveName(String name)
Sets the name to use when saving this query with the server's saved query service. |
String |
toString()
|
Methods inherited from class org.openrdf.query.impl.AbstractQuery |
---|
getMaxQueryTime, setMaxQueryTime |
Methods inherited from class org.openrdf.query.impl.AbstractOperation |
---|
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openrdf.query.Operation |
---|
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset |
Field Detail |
---|
public static final String SPARQL_COVERAGE_PLANNER
public static final String SPARQL_IDENTITY_PLANNER
public static final String RDFS_PLUS_PLUS
public static final String RESTRICTION
Constructor Detail |
---|
public AGQuery(AGRepositoryConnection con, QueryLanguage ql, String queryString, String baseURI)
Method Detail |
---|
public void setIncludeInferred(boolean includeInferred)
setIncludeInferred
in interface Operation
setIncludeInferred
in class AbstractOperation
includeInferred
- indicates whether inferred statements should included in the
result.setEntailmentRegime(String)
public void setEntailmentRegime(String entailmentRegime)
entailmentRegime
- indicates the entailment regime to use when reasoning.RDFS_PLUS_PLUS
,
RESTRICTION
,
setIncludeInferred(boolean)
public String getEntailmentRegime()
public QueryLanguage getLanguage()
public String getQueryString()
public String getPlanner()
public void setPlanner(String planner)
planner
- the planner name.public String getEngine()
public void setEngine(String engine)
getEngine()
public void setSaveName(String name)
name
- the saved name.public String getName()
public boolean isPrepared()
public void setPrepared(boolean prepared)
prepared
- the prepared flag.public String analyze() throws QueryEvaluationException
QueryEvaluationException
public boolean isCheckVariables()
public void setCheckVariables(boolean checkVariables)
checkVariables
- the checkVariables flag.public Binding[] getBindingsArray()
public String toString()
toString
in class Object
public int getLimit()
public void setLimit(int limit)
public int getOffset()
public void setOffset(int offset)
|
Copyright © 2008-2012 Franz Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |