public class ModifyQuery extends Object
| Modifier and Type | Method and Description | 
|---|---|
| protected void | appendNamedTriplesTemplates(StringBuilder queryString,
                           Optional<GraphName> graphName,
                           TriplesTemplate triples) | 
| T | base(Base base)Set the Base clause of this query | 
| T | base(Iri iri)Set the base IRI of this query | 
| ModifyQuery | delete(TriplePattern... triples)Specify triples to delete (or leave empty for DELETE WHERE shortcut) | 
| ModifyQuery | from(GraphName graphName)Specify the graph to delete triples from | 
| protected String | getQueryActionString() | 
| String | getQueryString() | 
| ModifyQuery | insert(TriplePattern... triples)Specify triples to insert | 
| ModifyQuery | into(GraphName graphName)Specify the graph to insert triples into | 
| T | prefix(Prefix... prefixes)Add prefix declarations to this query | 
| T | prefix(PrefixDeclarations prefixes)Set the Prefix declarations of this query | 
| ModifyQuery | using(Iri iri)Specify the graph used when evaluating the WHERE clause | 
| ModifyQuery | usingNamed(Iri iri)Specify a named graph to use to when evaluating the WHERE clause | 
| ModifyQuery | where(GraphPattern... patterns)Add graph patterns to this query's query pattern | 
| ModifyQuery | with(Iri iri)Define the graph that will be modified or matched against in the absence of more explicit graph definitions | 
public ModifyQuery with(Iri iri)
iri - the IRI identifying the desired graphpublic ModifyQuery delete(TriplePattern... triples)
triples - the triples to deletepublic ModifyQuery from(GraphName graphName)
graphName - the identifier of the graphpublic ModifyQuery insert(TriplePattern... triples)
triples - the triples to insertpublic ModifyQuery into(GraphName graphName)
graphName - the identifier of the graphpublic ModifyQuery using(Iri iri)
iri - the IRI identifying the desired graphpublic ModifyQuery usingNamed(Iri iri)
iri - the IRI identifying the desired graphpublic ModifyQuery where(GraphPattern... patterns)
patterns - the patterns to addprotected String getQueryActionString()
public T base(Iri iri)
iri - the base IRIpublic T base(Base base)
base - the Base clause to setpublic T prefix(Prefix... prefixes)
prefixes - the prefixes to addpublic T prefix(PrefixDeclarations prefixes)
prefixes - the PrefixDeclarations to setpublic String getQueryString()
getQueryString in interface QueryElementprotected void appendNamedTriplesTemplates(StringBuilder queryString, Optional<GraphName> graphName, TriplesTemplate triples)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.