public class AGQuery extends Object
Constructor and Description |
---|
AGQuery(QueryLanguage language,
String queryString) |
Modifier and Type | Method and Description |
---|---|
QueryLanguage |
getLanguage() |
int |
getLimit()
Gets the limit on the number of solutions for this query.
|
int |
getOffset()
Gets the offset, the number of solutions to skip for this query.
|
String |
getQueryString() |
boolean |
isCheckVariables()
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.
|
public AGQuery(QueryLanguage language, String queryString)
public QueryLanguage getLanguage()
public String getQueryString()
public boolean isCheckVariables()
public void setCheckVariables(boolean checkVariables)
checkVariables
- the checkVariables flagpublic int getLimit()
public void setLimit(int limit)
By default, the value is -1, meaning no constraint is imposed.
limit
- the new value of the limitpublic int getOffset()
public void setOffset(int offset)
By default, the value is -1, meaning no constraint is imposed.
offset
- the new value of the offsetCopyright © 2024 Franz Inc.. All rights reserved.