Package com.franz.agraph.jena
Class AGQuery
java.lang.Object
com.franz.agraph.jena.AGQuery
The class of queries that can be posed to AllegroGraph via Jena.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getLimit()
Gets the limit on the number of solutions for this query.int
Gets the offset, the number of solutions to skip for this query.boolean
Gets the flag for checkVariables.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
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.
-
Constructor Details
-
AGQuery
-
-
Method Details
-
getLanguage
-
getQueryString
-
isCheckVariables
public boolean isCheckVariables()Gets the flag for checkVariables.- Returns:
- the checkVariables flag
-
setCheckVariables
public 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.- Parameters:
checkVariables
- the checkVariables flag
-
getLimit
public int getLimit()Gets the limit on the number of solutions for this query.- Returns:
- limit
-
setLimit
public void setLimit(int limit) Sets the limit on the number of solutions for this query.By default, the value is -1, meaning no constraint is imposed.
- Parameters:
limit
- the new value of the limit
-
getOffset
public int getOffset()Gets the offset, the number of solutions to skip for this query.- Returns:
- offset
-
setOffset
public void setOffset(int offset) Sets the offset, the number of solutions to skip for this query.By default, the value is -1, meaning no constraint is imposed.
- Parameters:
offset
- the new value of the offset
-