public interface QueryGenerator
Modifier and Type | Method and Description |
---|---|
void |
addPrefix(java.lang.String name,
java.lang.String iri)
Add a prefix of the form 'PREFIX name:iri' to the produced query.
|
SelectQueryGenerator |
setAsSelectQuery()
Sets the type of the query to be produced to SELECT.
|
void addPrefix(java.lang.String name, java.lang.String iri)
name
- The abbreviation to be used in the queryiri
- The IRI that this prefix should expand toSelectQueryGenerator setAsSelectQuery()